@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Libertinus+Serif+Display&display=swap');

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

:root {
    --bg: #f6f4ef;
    --bg-secondary: #fff;
    --bg-accent: #ffd966;
    --text: #151515;
    --text-accent: #fe4d01;
}

body {
    font-family: "Inter", sans-serif;
    /* font-family: "Libertinus Serif Display", serif; */
    font-size: 16px;
    color: var(--text);
    background-color: var(--bg);
}

h1,
h2,
h3,
h4 {
    font-family: "Libertinus Serif Display", serif;
    line-height: 1;
}

img {
    display: block;
    width: 100%;
}

.container {
    max-width: 1200px;
    padding: 0 16px;
    margin: 0 auto;
}
/* ###### */
.brg {
    cursor: pointer;
    width: 30px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    display: none;
}
.brg div {
    width: 100%;
    height: 2px;
    border-radius: 4px;
    background-color: var(--text);
}
.header {
    background-color: var(--bg-secondary);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
}
.header .container {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.logo img {
    display: block;
    width: 100px;
}
.header ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.header li a {
    text-decoration: none;
    font-size: 16px;
    color: inherit;
    transition: color 0.2s ease-out;
    &:hover {
        color: var(--text-accent);
    }
}
@media (max-width: 768px) {
    .brg {
        display: flex;
    }
    .header nav {
        display: none;
    }
}
/* ###### */
.footer {
    background-color: var(--bg-secondary);
}
.footer .container {
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.footer li a {
    text-decoration: none;
    font-size: 16px;
    color: inherit;
    transition: color 0.2s ease-out;
    &:hover {
        color: var(--text-accent);
    }
}
@media (max-width: 768px) {
    .footer .container {
        flex-direction: column;
        gap: 24px;
    }
}
/* ###### */
.hero .container {
    padding: 120px 16px 64px;
}
.hero-title {
    font-size: 48px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.hero-item {
    margin-top: 48px;
    display: grid;
    justify-items: center;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}
.hero-item img {
    display: block;
    width: 100%;
    max-width: 400px;
}
.hero-info {
    max-width: 330px;
}
.hero-info h2 {
    font-size: 38px;
    margin-bottom: 24px;
}
.hero-info p {
    font-size: 18px;
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    .hero-item {
        margin-top: 24px;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .hero-item h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }
    .hero-item p {
        font-size: 16px;
    }
    .hero-item-2 img {
        grid-row: 1;
    }
}
/* ###### */
.method {
    background-color: var(--bg-accent);
}
.method .container {
    padding: 64px 16px;
}
.method-title {
    font-size: 48px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto 24px;
}
.method-desc {
    text-align: center;
    max-width: 500px;
    margin: 0 auto 32px;
}
.method-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-items: center;
}
.method-item {
    max-width: 320px;
    display: grid;
    gap: 16px;
    justify-items: center;
    text-align: center;
}
.method-item img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.method-item h3 {
    font-size: 24px;
}
@media (max-width: 768px) {
    .method-title {
        font-size: 32px;
    }
    .method-box {
        grid-template-columns: 1fr;
    }
    .method-item {
        gap: 8px;
    }
}
/* ###### */
.beyond .container {
    padding: 64px 16px;
}
.beyond-title {
    font-size: 48px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto 24px;
}
.beyond-title span {
    color: var(--text-accent);
    font-style: italic;
}
.beyond-desc {
    text-align: center;
    max-width: 500px;
    margin: 0 auto 32px;
}
.beyond-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-items: center;
}
.beyond-item {
    max-width: 320px;
    display: grid;
    gap: 16px;
    justify-items: center;
    text-align: center;
}
.beyond-item img {
    display: block;
    width: 100%;
    object-fit: contain;
}
.beyond-item h3 {
    font-size: 24px;
}
@media (max-width: 768px) {
    .beyond-title {
        font-size: 32px;
    }
    .beyond-box {
        grid-template-columns: 1fr;
    }
    .beyond-item {
        gap: 8px;
    }
}
/* ###### */
.testimonials {
    background-color: var(--bg-accent);
}
.testimonials .container {
    padding: 64px 16px;
    max-width: 800px;
}
.testimonials-title {
    font-size: 48px;
    margin-bottom: 24px;
}
.testimonials-desc {
    font-size: 16px;
    font-weight: bold;
}
.testimonials-btns {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonials-btns button {
    cursor: pointer;
    margin: 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 100px;
    background-color: var(--text);
    border: 1px solid var(--bg);
}
.testimonials-btns button img {
    width: 30px;
    height: 30px;
}
.testimonials-btns .left-btn {
    transform: rotate(180deg);
}
.testimonials-box {
    overflow: hidden;
}
.testimonials-wrap {
    --slide: 0;
    display: flex;
    width: 300%;
    transition: transform 0.4s ease-out;
    transform: translateX(calc((-100% / 3) * var(--slide)));

}
.testimonials-item {
    padding: 0 16px;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2 , 1fr);
    gap: 24px;
}
.testimonials-item h3 {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    margin-bottom: 16px;
}
.testimonials-item p {
    font-family: "Libertinus Serif Display", serif;
    font-size: 24px;
}
@media (max-width: 768px) {
    .testimonials-item {
        grid-template-columns: 1fr;
    }
}
/* ###### */
.faq .container {
    padding: 64px 16px;
    max-width: 800px;
}
.faq-title {
    font-size: 48px;
    margin-bottom: 24px;
    text-align: center;
}
.faq-box {
    max-width: 600px;
    margin: 0 auto;
}
.faq-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.2s ease-in-out;
}
.active + .faq-wrap {
    grid-template-rows: 1fr;
}
.faq-wrap > div {
    overflow: hidden;
}
.faq-item {
    margin-top: 16px;
    border-radius: 8px;
    background-color: var(--bg-secondary);
}
.faq-item h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    font-size: 20px;
    font-family: "Inter", sans-serif;
    cursor: pointer;
}
.faq-item h3 img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.faq-item h3.active img {
    transform: rotate(180deg);
}
.faq-item p {
    padding: 16px;
    font-size: 16px;
}
/* ###### */
.nav {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 60px 16px;
    background-color: var(--bg);
    transform: translateX(-100%);
    transition: transform 0.4s ease-out;
}
.nav.open {
    transform: translateX(0);
}
.nav-close {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.nav ul {
    list-style: none;
    display: grid;
    gap: 20px;
    text-align: center;
}
.nav a {
    color: inherit;
    text-decoration: none;
}
/* ###### */
.text h1,
.text h2,
.text h3,
.text h4 {
    font-family: "Inter", sans-serif;
}
.text .container {
    padding: 120px 16px 40px;
}
.text h1 {
    font-size: 32px;
    margin-bottom: 16px;
}
.text h2,
.text h3 {
    font-size: 22px;
    margin-bottom: 8px;
    margin-top: 32px;
}
.text p {
    font-size: 16px;
}
.text p + p {
    margin-bottom: 16px;
}
/* ###### */