:root {
    --bg: #efefef;
    --header-bg: #FFFFFF;
    --logo-height: 3.125rem;
    --h1-font: 'Poppins';
    --h1-weight: 700;
    --h1-size: 6.875rem;
    --h1-height: 6.875rem;
    --h2-font: 'Poppins';
    --h2-weight: 600;
    --h2-color: #fff;
    --h2-size: 6.75rem;
    --h2-height: 9.6875rem;
    --menu-font: 'Poppins';
    --menu-weight: 400;
    --menu-color: #000;
    --menu-size: 1rem;
    --menu-height: 1rem;
    --button-color: #303030;
    --button-bg: #FFFFFF80;
    --button-border: 1px solid #D0D8DB;
    --button-radius: 0.75rem;
    --text-color: #303030;
    --text-weight: 400;
    --text-size: 1.5rem;
    --text-height: 2rem;
    --section-margin: 0 0 10.625rem
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

#site {
    position: relative;
    width: 100vw;
    max-width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: var(--bg);
    display: flex;
    flex-direction: column;
    color: var(--text-color);
    font-weight: var(--text-weight);
    font-size: var(--text-size);
    line-height: var(--text-height);
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

header {
    padding: 1.25rem 0;
    width: 100%;
    position: relative;
    z-index: 999;
    background-color: transparent;
    margin-bottom: 2.5rem;
}

main .wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s, transform .5s;
    transition-delay: .2s;
}

main .wrapper.inView {
    transform: translateY(0);
    opacity: 1;
}

.wrapper {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
    z-index: 2;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    height: var(--logo-height);
}

.logo img {
    width: auto;
    height: 100%;
}

nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav a {
    display: block;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    font-family: var(--menu-font);
    font-weight: var(--menu-weight);
    font-size: var(--menu-size);
    line-height: var(--menu-height);
    color: var(--menu-color);
}

nav a:hover {
    text-decoration: underline;
}

.mobile-nav-item,
.header-menu-button {
    display: none;
}

.header-button a {
    display: block;
    border: var(--button-border);
    background-color: var(--button-bg);
    border-radius: var(--button-radius);
    padding: 0.75rem 1.6875rem;
    color: #000;
    transition: opacity .3s;
    font-size: 1rem;
    line-height: 100%;
}

.header-button a:hover {
    opacity: .7;
}

#hero {
    position: relative;
}

.hero-image {
    position: absolute;
    top: -8.5rem;
    right: 0;
    width: 100%;
    height: calc(100% + 8.5rem);
    z-index: 1;
    -webkit-clip-path: url(#shape);
    clip-path: url(#shape);
    background-image: url(./img/hero.jpg);
    background-size: cover;
    background-position: left bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 10.75rem 0 13.3125rem;
    width: 60%;
}

.hero-text {
    padding-bottom: 12.5rem;
    text-align: left;
}

.hero-text h1 {
    font-family: var(--h1-font);
    font-weight: var(--h1-weight);
    font-size: var(--h1-size);
    line-height: var(--h1-height);
    color: #fff;
    margin: 0 0 4.25rem;
    transform: translateX(-5rem);
    opacity: 0;
    transition: transform .4s, opacity .4s;
    transition-delay: .3s;
}

.inView .hero-text h1 {
    transform: translateX(0);
    opacity: 1;
}

.hero-description {
    font-family: var(--h1-font);
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 3rem;
    transform: translateX(-5rem);
    opacity: 0;
    transition: transform .3s, opacity .3s;
    transition-delay: .6s;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 100%);
    padding: 0.75rem 0;
    border-radius: 0 1.5rem 1.5rem 0;
}

.inView .hero-description {
    transform: translateX(0);
    opacity: 1;
}

.hero-more {
    display: flex;
}

.hero-more a {
    font-weight: 500;
    font-size: 1.3125rem;
    line-height: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #FFFFFF;
    color: var(--button-color);
    padding: 1rem 1.5rem;
    border: var(--button-border);
    transition: opacity .7s;
    border-radius: var(--button-radius);
}

.inView .hero-more {
    transform: translateY(0);
    opacity: 1;
}

.hero-more a:hover {
    opacity: .7;
}

.hero-drop {
    position: absolute;
    top: calc(100% + 3rem);
    right: 5rem;
    width: 42px;
    height: 60px;
    z-index: 1;
}

.hero-drop img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

section {
    margin: var(--section-margin);
}

section h2 {
    margin: 0 0 3.875rem;
    padding-right: 1.25rem;
    font-family: var(--h2-font);
    font-weight: var(--h2-weight);
    font-size: var(--h2-size);
    line-height: var(--h2-height);
    color: var(--h2-color);
    background: linear-gradient(90deg, rgba(205, 216, 208, 0) 0%, rgba(201, 216, 209, 0.8) 100%);
    text-align: right;
    border-radius: 0 1.5rem 1.5rem 0;
    transform: translateX(-3rem);
    opacity: 0.1;
    transition: transform .3s, opacity .3s;
    transition-delay: .3s;
}

section .inView h2 {
    transform: translateX(0);
    opacity: 1;
}

section p {
    margin: 0 0 2rem;
}

section p:last-of-type {
    margin: 0;
}

section p strong {
    font-weight: 500;
    font-size: 2rem;
}

#about {
    position: relative;
}

.about-img {
    margin-top: 5.125rem;
    overflow: hidden;
    width: 100%;
    height: 30.3125rem;
    border-radius: 1.5rem;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content-wrapper {
    /* display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8.75rem; */
    font-weight: 400;
    font-size: 1.75rem;
    line-height: 2.25rem;
}

.about-content {
    width: 66%;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem 1.5rem;
}

.why-item h3 {
    font-weight: 500;
    font-size: 2rem;
    line-height: 2.5rem;
    margin: 1.625rem 0 0;
}

.services-header {
    margin-bottom: 5.125rem;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.875rem 1.25rem;
}

.services-card {
    position: relative;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 2rem;
}

.services-card h4 {
    font-weight: 500;
    font-size: 2rem;
    line-height: 2.5rem;
    margin: 0 0 0.75rem;
    color: #303030;
}

.services-card img {
    margin-bottom: 1.25rem;
    border-radius: 1.5rem;
}


.benefits-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 1.5rem;
}

.benefits-content-item img {
    margin-bottom: 1.5rem;
}

.benefits-content-item h4 {
    color: var(--h2-color);
    font-size: 2rem;
    line-height: 2.5rem;
    margin: 0 0 .5rem;
}

.faq-img {
    margin-top: 2.625rem;
}

.faq-img img {
    border-radius: 1.5rem;
}

.faq-item {
    position: relative;
    margin-bottom: 3rem;
    padding: 3.75rem 5rem 3.75rem 8.75rem;
    background: linear-gradient(113.05deg, rgba(241, 237, 233, 0.2) -20.08%, rgba(193, 205, 205, 0.2) 55.56%);
    border-radius: 1.5rem;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 2rem;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item span {
    position: absolute;
    top: 3.75rem;
    left: 5rem;
    font-weight: 500;
    font-size: 2rem;
    line-height: 2.5rem;
}

.faq-item h3 {
    font-weight: 500;
    font-size: 2rem;
    line-height: 2.5rem;
    letter-spacing: 0.04rem;
    margin: 0 0 1.75rem;
}

.faq-item UL,
.faq-item P {
    margin: 0 0 0.04rem;
}

#contacts {
    position: relative;
    z-index: 1;
    margin-bottom: 9.375rem;
}

#contacts h2 {
    font-weight: 500;
    font-size: 6.75rem;
    line-height: 10.125rem;
    letter-spacing: 0.09rem;
    border-bottom: none;
    color: #D4DED9;
    background: none;
    text-align: left;
    padding: 0;
}

.contacts-img {
    position: absolute;
    top: -7rem;
    right: 0;
    width: auto;
    height: 100%;
    z-index: -1;
}

.contact-text {
    font-weight: 400;
    font-size: 1.75rem;
    line-height: 2.25rem;
    margin: 0 0 5.125rem;
}

.contact-text strong {
    display: block;
    font-weight: 500;
    font-size: 1.75rem;
    line-height: 2.25rem;
    margin-bottom: 0.75rem;
}

.contact-content-item {
    margin-bottom: 2.75rem;
}

.contact-content-item h3 {
    color: #D4DED9;
    font-weight: 500;
    font-size: 2.625rem;
    line-height: 2.625rem;
    margin: 0 0 1.25rem;
}

.contact-content-item span {
    display: block;
    margin: 0 0 1.125rem;
}

.contact-content-item p {
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 2rem;
    letter-spacing: 0%;
    margin: 1.25rem 0 0;
}

.contact-content-item a {
    text-decoration: underline;
    transition: color .3s;
    color: var(--header);
}

.contact-content-item a:hover {
    color: #DB0C0C;
}

footer {
    padding: 3rem 0 3.9375rem;
}

.footer-logo {
    height: 3.5625rem;
}

.footer-logo img {
    width: auto;
    height: 100%;
}

.footer-top,
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-top {
    margin-bottom: 3rem;
}

.footer-bottom {
    padding: 3rem 0;
    border-top: 1px #DDE1E6 solid;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.footer-bottom a {
    color: var(--header);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

#to-top {
    position: fixed;
    right: 1rem;
    bottom: -50rem;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: 2px solid #DDE1E6;
    border-radius: 1.5rem;
    background: #fff;
    cursor: pointer;
    opacity: .5;
    transition: all .3s;
    z-index: 999;
    font-size: 22px;
    line-height: 22px;
    transform: rotate(-90deg);
}

#to-top.show {
    bottom: 1rem;
}

#to-top:hover {
    opacity: 1;
}

.policy-head h1{
    font-size: 5.625rem;
    line-height: 6.125rem;
    color: #D4DED9;
    margin: 3rem 0 4.25rem;
}

.policy-content h2{
    text-align: left;
    color: #000;
    font-size: 3rem;
    line-height: 6rem;
    margin: 4rem 0 3rem;
}

@media (max-width: 1440px) {
    .wrapper {
        padding-right: 2rem;
        padding-left: 2rem;
    }

    .hero-content {
        width: 53.4375rem;
    }

    .about-content {
        width: 100%;
    }
}

@media (max-width: 1280px) {

    .header-menu-button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 42px;
        height: 42px;
        border: 0;
        padding: 0;
        border-radius: 0.5rem;
    }

    .header-menu-button span,
    .header-menu-button span:before,
    .header-menu-button span:after {
        display: block;
        width: 24px;
        height: 4px;
        border-radius: 2px;
        background: #000;
        transition: 0.3s;
    }

    .header-menu-button span {
        position: relative;
    }

    .header-menu-button span:before {
        content: "";
        position: absolute;
        bottom: 8px;
        left: 0;
    }

    .header-menu-button span:after {
        content: "";
        position: absolute;
        top: 8px;
        left: 0;
    }

    .header-menu-button.active span {
        background: transparent;
    }

    .header-menu-button.active span::before {
        bottom: 0;
        transform: rotate(45deg);
    }

    .header-menu-button.active span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    #header-menu {
        position: absolute;
        flex-direction: column;
        top: 100%;
        right: 1rem;
        opacity: 0;
        overflow: hidden;
        height: 0;
        width: auto;
        min-width: 30vw;
        z-index: 9;
        background-color: #fff;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
        padding: 1em;
        border-radius: .5rem;
        transition: opacity .6s, height .3s;
    }

    #header-menu.active {
        opacity: 1;
        height: 23rem;
    }

    section {
        margin-bottom: 8rem;
    }

    .mobile-nav-item {
        display: block;
    }

    .footer-bottom,
    .footer-top {
        flex-direction: column;
        gap: 1rem;
    }

    .services-header,
    .why-wrapper,
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-content {
        padding: 6rem 0 7.5rem;
    }

    section h2 {
        font-size: 5.75rem;
    }

    header nav a {
        font-size: 2rem;
        line-height: 2rem;
    }

}

@media (max-width: 1080px) {
    html {
        font-size: 14px;
    }

    .hero-text {
        padding-bottom: 4.5rem;
    }

    .benefits-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .products-item {
        gap: 2rem;
        align-items: start;
    }

    footer {
        text-align: center;
    }

    footer nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .benefits-content-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-cards {
        grid-template-columns: 1fr;
        margin-top: 3rem;
    }

    .services-header {
        flex-direction: column;
    }

    .services-cards {
        grid-template-columns: 1fr 1fr;
    }

    .products-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .products-item:last-child {
        grid-column: 1;
    }
}

@media (max-width: 820px) {
    html {
        font-size: 12px;
    }

    .hero-content {
        width: 100%;
    }

    .services-cards,
    .why-content {
        grid-template-columns: 1fr;
    }

    .why-item {
        padding: 2rem;
        background: linear-gradient(113.05deg, rgba(241, 237, 233, 0.2) -20.08%, rgba(193, 205, 205, 0.2) 55.56%);
        border-radius: 1.5rem;
    }

}

@media (max-width: 620px) {
    html {
        font-size: 10px;
    }

    .hero-image {
        background-position: right bottom;
        top: -9.5rem;
    }
    section h2 {
        font-size: 3rem;
        line-height: 6rem;
    }
    .faq-item{
        padding: 2rem 2rem 2rem 4rem;
    }

    .faq-item span{
        top: 2rem;
        left: 2rem;
    }
}

@media (max-width: 420px) {
    .header-button {
        display: none;
    }
}