@font-face {
    font-family: 'OktaNeue';
    src: url('../fonts/OktaNeue-Black.woff2') format('woff2'),
        url('../fonts/OktaNeue-Black.woff') format('woff'),
        url('../fonts/OktaNeue-Black.ttf') format('truetype');
    font-weight: 900;
}

@font-face {
    font-family: 'OktaNeue';
    src: url('../fonts/OktaNeue-Medium.woff2') format('woff2'),
        url('../fonts/OktaNeue-Medium.woff') format('woff'),
        url('../fonts/OktaNeue-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'OktaNeueNormal';
    src: url('../fonts/OktaNeue-Normal.woff2') format('woff2'),
        url('../fonts/OktaNeue-Normal.woff') format('woff'),
        url('../fonts/OktaNeue-Normal.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'OktaNeue';
    src: url('../fonts/OktaNeue-Regular.woff2') format('woff2'),
        url('../fonts/OktaNeue-Regular.woff') format('woff'),
        url('../fonts/OktaNeue-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'OktaNeue';
    src: url('../fonts/OktaNeue-Light.woff2') format('woff2'),
        url('../fonts/OktaNeue-Light.woff') format('woff'),
        url('../fonts/OktaNeue-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'Arlo';
    src: url('../fonts/AlroRegular.woff2') format('woff2'),
        url('../fonts/AlroRegular.woff') format('woff'),
        url('../fonts/alro-regular-400.ttf') format('truetype');
    font-weight: 400;
}

:root {
    --font-oktaneue: 'OktaNeue';
    --font-oktaneuenormal: 'OktaNeueNormal';
    --font-arlo: 'Arlo';
    --color-main: #171B26;
    --color-white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

button {
    border: none;
    cursor: pointer;
    background-color: transparent;
}

body {
    zoom: 80%;
}

input {
    outline: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0; 
}

html {
    scroll-behavior: smooth;
}

input[type="number"] {
    -moz-appearance: textfield; 
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1860px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 0 30px;
}

.main-title {
    font-family: var(--font-oktaneue);
    font-size: 120px;
    font-weight: 400;
    line-height: 100%;
    color: var(--color-main);  
}

.main-title--arlo {
    font-family: var(--font-arlo);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}


.title {
    font-family: var(--font-oktaneuenormal);
    font-size:  70px;
    font-weight: 400;
    line-height: 105%;
    color: var(--color-main);
}

.subtitle {
    font-family: var(--font-oktaneuenormal);
    font-size:  32px;
    font-weight: 400;
    line-height: 108%;
    color: var(--color-main);
}

.text-primary {
    font-family: var(--font-oktaneuenormal);
    font-size:  28px;
    font-weight: 400;
    line-height: 150%;
    color: var(--color-main);
}

.button {
    max-width: 449px;
    width: 100%;
    background-color: transparent;
    padding: 17px 100px 31px 100px;
    position: relative;
    font-family: var(--font-oktaneue);
    font-size:  25px;
    font-weight: 400;
    line-height: 150%;
    color: var(--color-main);
    display: flex;
    justify-content: center;
}

.button span {
    position: relative;
    z-index: 2;
}

.button-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.button-bg svg {
    width: 100%;
}

.input {
    width: 100%;
    background-color: var(--color-white);
    border: 1px solid var(--color-main);
    font-family: var(--font-oktaneuenormal);
    font-size: 48px;
    line-height: 100%;
    font-weight: 400;
    color: var(--color-main);
    height: 120px;
    text-align: center;
}

.input::placeholder {
    opacity: 1;
    color: var(--color-main);
}

.input:focus::placeholder {
    opacity: 0;
}

/* header */

.header {
    background-color: #000000;
    padding: 40px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.nav__list {
    display: flex;
    gap: 36px;
    max-width: 496px;
    width: 100%;
}

.header__nav .nav-list__item a {
    color: var(--color-white);
    text-transform: lowercase;
    letter-spacing: 0.02em;
}

.nav-list__item.mobile {
    display: none;
}

.header .container > a {
    color: var(--color-white);
    font-size: 27px;
}

/* hero-section*/ 
.hero-section {
    background-color: #000000;
    padding: 40px 0 109px 0;
}

.hero-section .container {
    background-image: url(../images/hero-block-img.png);
    background-position: top 40px;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 902px;
}

.hero-section__top {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.hero-section h1, .hero-section span,
.hero-section p, .hero-section h2,
.hero-section .button {
    color: var(--color-white);
}

.hero-section p {
    max-width: 427px;
}

.hero-section h2 {
    max-width: 995px;
}

.hero-section__bottom {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

/* instock section */

.in-stock-section, .advantages-section, 
.video-section {
    margin-top: 150px;
}

.in-stock-section h2 {
    max-width: 770px;
}

.in-stock-section .button {
    align-self: center;
    margin-top: 120px;
}

.in-stock-section .flex-container {
    margin-top: 120px;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.in-stock__card {
    display: flex;
    width: 100%;
    gap: 50px;
}

.in-stock__card.hide-card {
    display: none;
}

.flex-container.show .in-stock__card.hide-card {
    display: flex;
}

.in-stock__card h3 {
    text-transform: lowercase;
    max-width: 374px;
}

.in-stoc-card__img-wrapper {
    max-width: 1200px;
    width: 100%;
    background-color: var(--color-white);
    clip-path: polygon(19.9% 0%, 100% 0%, 100% 43.8%, 100% 100%, 0% 100%, 0% 18.5%);
    overflow: hidden;
}
.in-stoc-card__img {
    width: 100%;
    height: auto;
}

.in-stoc-card__info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 500px;
    width: 100%;
}

.card-info__main-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 280px;
    width: 100%;
    align-self: center;
}

.card-info__tile-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* advantages-section */

.advantages-section h2 {
    max-width: 790px;
}

.advantages-section .flex-container {
    margin-top: 120px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    overflow: auto;
    padding-bottom: 20px;
}

@media (min-width: 1500px) {
    .advantages-section .flex-container {
        overflow: visible;
    }
}

.advantages-card {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 565px;
    width: 100%;
}

.advantages-card__text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.advantages-card__text-wrapper h3 {
    font-family: var(--font-oktaneue);
    font-size: 26px;
}

/* about section */

.about-section {
    margin-top: 253px;
}

.about-section .container {
    flex-direction: row;
    justify-content: space-between;
    gap: 60px;
}

.about-section__text-wrapper {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.about-section__list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 150px;
}

.about-signature {
    margin-top: 50px;
}

.about-section__person-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: -155px;
}

.about-section__person-wrapper-mob {
    display: none;
}

.about-section__person-wrapper .button {
    margin-top: 10px;
}

/* video-section */

.video-section h2 {
    max-width: 844px;
}

.video-section .flex-container {
    margin-top: 120px;
}

.video-large__wrapper {
    width: 100%;
}

.video-section .flex-container > .flex-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.video-large__cover-wrapper {
    width: 100%;
    clip-path: polygon(28% 0%, 100% 0%, 100% 43.8%, 100% 99%, 0% 99%, 0% 18.3%);
    background-color: var(--color-white);
    overflow: hidden;
}

.video-large__description-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.video-large__description-wrapper h3 {
    font-family: var(--font-oktaneue);
}

.video-large__description-wrapper p {
    color: #989898;
    font-size: 24px;
    line-height: 140%;
    letter-spacing: 0.02em;
}

.video-small__wrapper {
    max-width: 574px;
    width: 100%;
}
.video-small__cover-wrapper {
    height: 320px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    position: relative;
    padding: 20px;
}

.video-small__cover-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
}

.video-time {
    position: relative;
    z-index: 2;
    font-family: var(--font-oktaneuenormal);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--color-white);
    padding: 10px;
    background: rgba(23, 27, 38, 0.4);
    width: fit-content;
    height: fit-content;
    line-height: 100%;
}

.video-small__cover-wrapper {
    overflow: hidden;
}

.flex-container > .flex-container > .video-small__wrapper:nth-child(1) .video-small__cover-wrapper {
    clip-path: polygon(44.43% 0%, 100% 0%, 100% 98%, 0% 98%, 0% 18.84%);
}

.video-small__description-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    margin-top: 20px;
    text-align: left;
}

.video-small__description-wrapper h3 {
    font-size: 24px;
    line-height: 140%;
    max-width: 515px;
}

.video-small__description-wrapper p {
    color: #989898;
    font-size: 24px;
}

.flex-container > .flex-container > .video-small__wrapper:nth-child(2) .video-small__cover-wrapper {
    clip-path: polygon(52.44% 0%, 0% 0%, 0% 81.4%, 44.5% 100%, 72.25% 100%, 100% 100%, 100% 0%);
}

.flex-container > .flex-container > .video-small__wrapper:nth-child(3) .video-small__cover-wrapper {
    clip-path: polygon(55.92% 0%, 0% 0%, 0% 81.4%, 0% 100%, 74.69% 100%, 100% 100%, 100% 18.38%, 77.96% 9.19%);
}

/* faq-section */

.faq-section {
    margin-top: 206px;
    overflow-x: hidden;
}

.faq-section h2 {
    max-width: 510px;
}

.faq-section .flex-container {
    margin-top: 120px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.dropdown-item {
    width: 100%;
    /* border-top: 1px solid var(--color-main); */
    position: relative;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0px; 
    display: block;
    height: 1px; 
    border-top: 1px solid var(--color-main);
    z-index: 1;
    left: -50vw;
    width: 200vw;
}

.faq-section .dropdown-item:last-child::after {
    content: '';
    position: absolute;
    bottom: 0px; 
    display: block;
    height: 1px; 
    background-color: var(--color-main);
    z-index: 1;
    left: -50vw;
    width: 200vw;
}


.dropdown-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    width: 100%;
    padding: 43px 0;
}

.dropdown-info svg {
    min-width: 39px;
}

.dropdown-info h3 {
    font-size: 48px;
    line-height: 87%;
    text-transform: lowercase;
    text-align: left;
}

.more-button .hide {
    display: none;
}

.more-button.active .show {
    display: none;
}
.more-button.active .hide {
    display: block;
}

.dropdown-open {
    height: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    overflow: hidden;
    transition: 400ms ease-in-out;
}

.dropdown-item.active .dropdown-open {
    padding: 58px 0 99px 0;
}

.dropdown-item svg .hide-rect {
    transition: 400ms ease-in-out;
}

.dropdown-item.active svg .hide-rect {
    width: 0;
    x: 39px;
}

.dropdown-open h4 {
    font-family: var(--font-oktaneue);
    letter-spacing: 0.01em;
    font-size: 26px;
    line-height: 100%;
}

.dropdown-open__item {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
}
.single-item .dropdown-open__item {
    /* margin: 0 auto; */
    max-width: 100%;
}



/* form-section */

.form-section {
    margin-top: 250px;
}

.form-section h2 {
    max-width: 857px;
    text-transform: lowercase;
}

.form-section .flex-container {
    display: flex;
    margin-top: 120px;
    justify-content: space-between;
    gap: 20px;
}

.form-section .flex-container .button {
    max-width: 850px;
    color: var(--color-white);
    font-size: 48px;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    padding: 18px;
}

.form-section .flex-container .button svg {
    width: 100%;
    height: 120px;
}

.form-section__wrapper {
    margin-top: 150px;
}

.form-wrapper {
    margin-top: 120px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.form-wrapper .button {
    max-width: 1800px;
    width: 100%;
    color: var(--color-white);
    font-size: 48px;
    align-items: center;
    justify-content: center;
    padding-top: 23px;
    height: 120px;
}

.button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.button-wrapper p {
    color: #A6A6A6;
}

/* footer */

.footer {
    margin-top: 100px;
}

.footer .container {
    padding-top: 40px;
    padding-bottom: 45px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.footer__nav .nav__list a {
    text-transform: lowercase;
    letter-spacing: 0.02em;
    line-height: 150%;
}

.fade {
    opacity: 0;
    transform: translateY(60px);
    transition: transform 0.7s 100ms, opacity 0.7s 100ms;
    will-change: transform;
}

.container.fade {
    opacity: 0;
    transform: translateY(60px);
    transition: transform 1s 200ms, opacity 1s 200ms;
    will-change: transform;
}

.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-wrapper.active {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
    transition: 400ms ease-in-out;
}

.modal {
    width: fit-content;
    margin: 80px auto;
    max-width: 110vw;
    height: auto;
    display: flex;
    padding: 10px;
    border-radius: 10px;
    background-color: #FFFFFF;
    position: relative;
}

.modal video {
    width: 100%;
    height: auto;
    max-height: 90vh;
}


.modal-close {
    font-size: 22px;
    position: absolute;
    font-family: var(--font-arlo);
    color: #FFFFFF;
    top: -40px;
    right: 0;
}


@media (max-width: 1330px) {
    .hero-section h2,
    .main-title {
        font-size: 8.5vw;
    }

    .hero-section__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 60px;
    }

    .hero-section__bottom .button {
        align-self: center;
    }
}


@media (max-width: 878px) {
    .dropdown-open {
        flex-direction: column;
        gap: 30px;
    }
    .form-section .flex-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    .header .nav__list {
        display: none;
    }

    .about-signature {
        display: none;
    }

    .video-section .flex-container > .flex-container {
        flex-direction: column;
    }

    .dropdown-info h3 {
        font-size: 36px;
    }

    .in-stock-section .flex-container {
        flex-direction: row;
    }
    .in-stock__card,
    .in-stock__card.hide-card {
        display: flex;
        flex-direction: column;
        min-width: 400px;
        gap: 20px;
    }
    .in-stoc-card__info-wrapper,
    .card-info__main-wrapper {
        gap: 20px;
    }
    .in-stock-section .flex-container {
        gap: 40px;
        margin-left: -30px;
        width: 125vw;
        padding: 0 30px;
        overflow: scroll;
    }
    .card-info__main-wrapper {
        align-self: flex-start;
    }
    .in-stock__card h3 {
        font-size: 40px;
    }
    .card-info__tile-wrapper span {
        display: none;
    }

    .card-info__main-wrapper .subtitle {
        font-size: 22px;
    }
    .in-stock-section .button {
        display: none;
    }
    .in-stock-section, .advantages-section, .video-section,
    .faq-section, .form-section, .form-section__wrapper {
        margin-top: 70px;
    }
    .about-section .container {
        flex-direction: column;
    }
    .about-section__text-wrapper {
        max-width: 100%;
    }
    .about-person {
        display: none;
    }

    .about-section__list {
        margin-top: 40px;
    }

    .about-section__person-wrapper-mob {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
        gap: 20px;
        padding: 20px 0;
    }
    .about-section__person-wrapper-mob img {
        width: 100%;
        height: auto;
        max-width: 500px;
    }
    
    .video-large__description-wrapper {
        flex-direction: column;
        text-align: left;
    }

    .video__cover {
        width: 100%;
        height: auto;
    }
    .about-section {
        margin-top: 80px;
    }
    .about-section__person-wrapper {
        margin-top: 0;
    }

    .about-section__person-wrapper .text-primary {
        display: none;
    }

    .nav-list__item.mobile {
        display: flex;
    }

    .nav__list,
    .footer .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer .container {
        padding: 24px 26px 40px;
    }

    .footer__nav .nav__list .nav-list__item:first-child {
        display: none;
    }
    .footer .logo svg path {
        fill: var(--color-white);
    }
    .footer .logo {
        align-self: center;
    }
    .footer {
        background-color: #000000;
        background-image: url(../images/hero-block-img.png);
        background-position: bottom left 40vw;
        background-size: 180vw;
        background-repeat: no-repeat;
    }

    .footer .nav-list__item a {
        font-size: 40px;
        color: #AAAAAA;
        text-transform: capitalize;
        font-family: var(--font-oktaneuenormal);
        font-weight: 400;
    }

    .footer .nav__list {
        margin-top: 50px;
        gap: 40px;
    }
}

@media (max-width: 678px) {
    .advantages-section .flex-container {
        flex-direction: column;
        gap: 60px;
        overflow: visible;
    }

    .hero-section__bottom .main-title {
        display: none;
    }
    .hero-section__bottom {
        margin-top: 30px;
    }

    .hero-section__top {
        height: 565px;
    }

    .hero-section__top .text-primary {
        margin-top: auto;
    }
    
    .in-stock-section .flex-container {
        gap: 25px;
        margin-left: -18px;
        padding: 0 18px;
    }

    .video-large__description-wrapper h3 {
        font-size: 24px;
        font-weight: 400;
        font-family: var(--font-oktaneuenormal);
    }


    .in-stock__card h3 {
        font-size: 30px;
        font-weight: 700;
    }

    .form-section .flex-container,
    .faq-section .flex-container,
    .advantages-section .flex-container,
    .in-stock-section .flex-container {
        margin-top: 60px;
    }
    
    .video-section .flex-container {
        margin-top: 20px;
    }
    .header a {
        display: none;
    }
    .hero-section .container {
        min-height: 700px;
    }

    .hero-section h1 {
        display: flex;
        flex-direction: column-reverse;
    }

    .form-section .flex-container .button,
    .form-wrapper .button {
        font-size: 25px;
    }
    .input {
        font-size: 22px;
        height: 72px;
    }
    .form-wrapper .button,
    .form-wrapper .button .button-bg svg,
    .button-bg svg,
    .form-section .flex-container .button svg {
        height: 72px;
    }

    .button {
        padding: 17px 30px 31px 30px;
        display: flex;
        justify-content: center;
    }
    .button-bg {
        left: auto;
    }
    
    .form-wrapper {
        gap: 25px;
        margin-top: 60px;
    }
    
    .dropdown-info {
        padding: 36px 0;
    }

    .dropdown-info svg {
        min-width: 20px;
        width: 20px;
    }
    .dropdown-info h3 {
        font-size: 22px;
    }

    .main-title {
        font-size: 40px;
        line-height: 90%;
    }

    .advantages-card__text-wrapper h3 {
        font-size: 22px;
    }

    .text-primary {
        font-size: 18px;
    }

    .advantages-card {
        max-width: 100%;
        gap: 30px;
    }

    .advantages-card img {
        width: 100%;
        height: auto;
    }

    .advantages-card__text-wrapper {
        gap: 25px;
    }

    .form-section .flex-container .button-bg {
        left: auto;
    }

    .container {
        padding: 0 18px;
    }
}