/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3.5rem;

    --first-color: #D09014;
    --second-color: #957C4C;
    --accent-teal: #00625F;
    --first-gradient: linear-gradient(90deg, #00625F, #00625F);
    --title-color: hsl(255, 12%, 12%);
    --text-color: hsl(225, 12%, 24%);
    --text-color-light: hsl(255, 4%, 70%);
    --body-color: #1B1839;
    --white-color: hsl(0, 0%, 100%);
    --black-color: hsl(255, 20%, 10%);
    --gray-border: hsl(255, 6%, 90%);
    --black-border: hsl(255, 10%, 20%);

    --body-font: "Montserrat", sans-serif;
    --big-font-size: 2.25rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;

    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (min-width: 1150px) {
    :root {
        --big-font-size: 3.5rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
    }
}

/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--white-color);
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
}

ul { list-style: none; }
a { text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/*=============== REUSABLE ===============*/
.container {
    max-width: 1120px;
    margin-inline: 1.5rem;
}

.section__title, .section__subtitle {
    text-align: center;
}

.section__title {
    font-size: var(--h1-font-size);
    font-weight: var(--font-bold);
    margin-bottom: 1.5rem;
}

.section__subtitle {
    display: block;
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--second-color);
    margin-bottom: .5rem;
}

/*=============== HEADER & NAV ===============*/
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: transparent;
    z-index: var(--z-fixed);
    transition: background-color .4s, backdrop-filter .4s;
}

.blur-header {
    background-color: hsla(0, 0%, 10%, .6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.nav {
    position: relative;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
    column-gap: .25rem;
}

.nav__logo span {
    color: var(--white-color);
    font-weight: var(--font-semi-bold);
    transition: color .4s;
}

.nav__logo i {
    color: var(--first-color);
    font-size: 1.5rem;
}

.nav__toogle,
.nav__close {
    font-size: 1.5rem;
    color: var(--white-color);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: color .4s;
}

@media screen and (max-width: 1150px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--black-color);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        width: 80%;
        height: 100vh;
        padding: 7.5rem 3.5rem 0;
        border-left: 2px solid var(--black-border);
        transition: right .4s;
    }
}

.nav__list {
    display: flex;
    flex-direction: column;
    row-gap: 4rem;
}

.nav__link {
    position: relative;
    color: var(--white-color);
    font-weight: var(--font-semi-bold);
}

.nav__link::after {
    content: '';
    width: 0;
    height: 2px;
    background-color: var(--white-color);
    position: absolute;
    left: 0;
    bottom: -.5rem;
    transition: width .4s;
}

.nav__link:hover::after { width: 70%; }
.active-link::after { width: 60%; }

.nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.show-menu { right: 0; }

@media screen and (min-width: 1150px) {
    .nav { height: calc(var(--header-height) + 2rem); }
    .nav__toogle, .nav__close { display: none; }
    .nav__menu { width: initial; }
    .nav__list {
        flex-direction: row;
        align-items: center;
        column-gap: 3rem;
        margin-right: 10rem;
    }

    .nav__menu a {
        color: var(--white-color);
    }
}

/*=============== HERO ===============*/
.bg__background_img {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: transparent;
}

.background-clip {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.home {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 8rem;
}

.home__data {
    text-align: center;
}

.home__eyebrow {
    display: block;
    color: var(--white-color);
    font-weight: var(--font-bold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: var(--small-font-size);
    margin-bottom: 1rem;
}

.home__title {
    color: var(--white-color);
    font-size: 1.5rem;
    line-height: 1.4;
    max-width: 800px;
    margin-inline: auto;
}

/*=============== BUTTON ===============*/
.button {
    background: var(--first-gradient);
    color: var(--white-color);
    font-weight: var(--font-semi-bold);
    padding: 1rem 2rem;
    display: inline-block;
    transition: box-shadow .4s;
}

.button:hover {
    box-shadow: 0 8px 32px hsla(178, 100%, 19%, .3);
    color: var(--white-color);
}

/*=============== INSTALL INTRO ===============*/
.install-intro {
    background-color: var(--white-color);
    padding-block: 5rem 1rem;
    text-align: center;
}

.install-intro__text {
    max-width: 620px;
    margin-inline: auto;
    color: var(--text-color-light);
    font-size: var(--normal-font-size);
    line-height: 1.6;
}

/*=============== PROCESS TIMELINE ===============*/
.process {
    background-color: var(--white-color);
    padding-block: 3rem 5rem;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 27px;
    bottom: 27px;
    width: 2px;
    background: linear-gradient(var(--first-color), var(--accent-teal));
    opacity: 0.35;
}

.timeline__item {
    position: relative;
    padding-left: 4.5rem;
    padding-bottom: 3rem;
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--body-color);
    border: 2px solid var(--first-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline__marker-num {
    color: var(--first-color);
    font-weight: 800;
    font-size: 1.05rem;
}

.timeline__card {
    background-color: var(--white-color);
    border: 1px solid var(--gray-border);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.timeline__card:hover {
    border-color: var(--first-color);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.timeline__card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.timeline__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.timeline__card:hover .timeline__card-img img {
    transform: scale(1.04);
}

.timeline__card-body {
    padding: 1.75rem 1.75rem 2rem;
}

.timeline__card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: var(--font-bold);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-teal);
    background-color: hsla(178, 100%, 19%, 0.08);
    padding: 0.3rem 0.75rem;
    border-radius: 99px;
    margin-bottom: 1rem;
}

.timeline__card-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--black-color);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.timeline__card-text {
    font-size: var(--normal-font-size);
    color: var(--text-color-light);
    line-height: 1.7;
}

@media screen and (min-width: 768px) {
    .timeline::before {
        left: 35px;
    }

    .timeline__item {
        padding-left: 6rem;
    }

    .timeline__marker {
        width: 70px;
        height: 70px;
    }

    .timeline__marker-num {
        font-size: 1.3rem;
    }

    .timeline__card {
        flex-direction: row;
    }

    .timeline__card-img {
        width: 300px;
        flex-shrink: 0;
        aspect-ratio: auto;
    }

    .timeline__card-body {
        padding: 2.25rem 2.5rem;
    }

    .timeline__card-heading {
        font-size: 1.4rem;
    }
}

/*=============== STANDARD (3 COMMITMENTS) ===============*/
.standard {
    background-color: #F8F9FA;
    padding-block: 5rem;
}

.standard__header {
    text-align: center;
    max-width: 620px;
    margin-inline: auto;
    margin-bottom: 3rem;
}

.standard__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.standard__card {
    position: relative;
    overflow: hidden;
    background-color: var(--white-color);
    padding: 2.5rem 2rem;
    border: 1px solid var(--gray-border);
    border-radius: 4px;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.standard__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--first-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.standard__card:hover {
    transform: translateY(-0.5rem);
    border-color: var(--first-color);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.standard__card:hover::before {
    transform: scaleX(1);
}

.standard__number {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--gray-border);
    line-height: 1;
    z-index: 0;
}

.standard__icon {
    position: relative;
    width: 54px;
    height: 54px;
    background-color: hsla(38, 85%, 92%, 1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    z-index: 1;
}

.standard__icon i {
    font-size: 1.5rem;
    color: var(--first-color);
}

.standard__card-title {
    position: relative;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    z-index: 1;
}

.standard__card-description {
    position: relative;
    font-size: var(--small-font-size);
    color: var(--text-color-light);
    line-height: 1.6;
    z-index: 1;
}

.standard__footnote {
    text-align: center;
    max-width: 700px;
    margin-inline: auto;
    color: var(--text-color-light);
    font-size: var(--small-font-size);
    font-style: italic;
    line-height: 1.6;
}

@media screen and (min-width: 768px) {
    .standard__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .standard__card--offset {
        transform: translateY(1.5rem);
    }

    .standard__card--offset:hover {
        transform: translateY(1rem);
    }
}

/*=============== BESTSELLERS ===============*/
.bestsellers {
    background-color: #FAF8F5;
    padding-block: 5rem;
}

.bestsellers__header {
    text-align: center;
    margin-bottom: 3rem;
}

.bestsellers__subtitle {
    text-align: center;
}

.bestsellers__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.bestsellers__card {
    background-color: var(--white-color);
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-radius: 0.75rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 16px hsla(255, 12%, 8%, 0.03);
}

.bestsellers__card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 8px 24px hsla(255, 12%, 8%, 0.08);
}

.bestsellers__img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    display: block;
    margin-inline: auto;
    margin-bottom: 2rem;
}

.bestsellers__card-title {
    font-size: 1.25rem;
    color: var(--black-color);
    font-weight: 700;
}

@media screen and (min-width: 768px) {
    .bestsellers__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/*=============== CALL TO ACTION ===============*/
.cta {
    padding-block: 8rem;
    background-color: #0E0D1B;
    text-align: center;
}

.cta__title {
    font-size: 2rem;
    color: var(--white-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta__description {
    color: hsl(228, 8%, 70%);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 560px;
    margin-inline: auto;
}

.cta__buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta__button {
    display: inline-flex;
    align-items: center;
    column-gap: 0.5rem;
}

.cta__call {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    color: var(--white-color);
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.cta__call:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white-color);
}

@media screen and (min-width: 1024px) {
    .cta__title {
        font-size: 3rem;
    }
}

/*=============== FOOTER ===============*/
.footer {
    background-color: #1B1839;
    padding-block: 5rem 1rem;
}

.footer__container {
    display: grid;
    row-gap: 3.5rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    column-gap: .25rem;
    font-weight: var(--font-semi-bold);
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer__description {
    font-size: var(--small-font-size);
    color: hsl(228, 8%, 70%);
    margin-bottom: 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 3rem 4rem;
}

.footer__title {
    font-size: var(--h3-font-size);
    color: #fff;
    margin-bottom: 1rem;
}

.footer__links {
    display: grid;
    row-gap: .5rem;
}

.footer__link {
    color: hsl(228, 8%, 70%);
    transition: color .4s;
}

.footer__link:hover { color: var(--first-color); }

.footer__socail {
    display: flex;
    column-gap: 1rem;
}

.footer__socail-link {
    font-size: 1.25rem;
    color: #fff;
    transition: color .4s;
}

.footer__socail-link:hover { color: var(--first-color); }

.footer__info {
    margin-top: 5rem;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1.5rem;
}

.footer__copy, .footer__privacy {
    font-size: var(--small-font-size);
    color: hsl(228, 8%, 70%);
}

.footer__privacy {
    display: flex;
    column-gap: 1.25rem;
}

.footer__privacy a {
    color: hsl(228, 8%, 70%);
    transition: color .4s;
}

.footer__privacy a:hover { color: #fff; }

@media screen and (min-width: 768px) {
    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1150px) {
    .footer__container {
        grid-template-columns: repeat(2, max-content);
        justify-content: space-between;
    }
    .footer__content {
        grid-template-columns: repeat(4, max-content);
    }
}

/*=============== SCROLL UP ===============*/
.scrollup {
    position: fixed;
    right: 1rem;
    bottom: -30%;
    background-color: #25D366;
    box-shadow: 0 8px 12px hsla(228, 66%, 45%, .1);
    display: inline-flex;
    padding: .35rem;
    border-radius: 1rem;
    color: var(--title-color);
    font-size: 3rem;
    z-index: var(--z-tooltip);
    transition: .3s;
}

.scrollup:hover { transform: translateY(-.25rem); }
.show-scroll { bottom: 8rem; }

@media screen and (min-width: 1023px) {
    .show-scroll {
        bottom: 3rem;
        right: 3rem;
    }
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
    width: .6rem;
    background-color: hsl(228, 8%, 76%);
}

::-webkit-scrollbar-thumb {
    border-radius: .5rem;
    background-color: hsl(228, 8%, 64%);
}

::-webkit-scrollbar-thumb:hover {
    background-color: hsl(228, 8%, 54%);
}

body {
    overflow-x: hidden !important;
}

@media screen and (min-width: 1150px) {
    .container { margin-inline: auto; }
    .section { padding-block: 7rem 2rem; }
}