:root {
    --cream: #f8f1ee;
    --cream-light: #fcf8f6;

    --blush: #eadbdd;
    --mauve: #c5a7aa;
    --rose: #9d7379;
    --rose-dark: #805c63;

    --text: #403334;
    --text-soft: #766568;

    --white: #fffdfc;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 75% 25%,
            rgba(234, 219, 221, 0.55),
            transparent 32%
        ),
        var(--cream-light);

    color: var(--text);

    font-family: "Montserrat", sans-serif;

    overflow-x: hidden;
}

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

button {
    font: inherit;
}


/* =================================
   LOADING
================================= */

.loader {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--cream-light);

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    animation: loaderIn 1s ease;
}

.loader-content img {
    width: min(230px, 65vw);
    max-height: 130px;

    object-fit: contain;
}

.loader-content span {
    width: 0;
    height: 1px;

    margin-top: 22px;

    background: var(--rose);

    animation: loaderLine 1.5s ease forwards;
}

@keyframes loaderIn {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes loaderLine {

    from {
        width: 0;
    }

    to {
        width: 85px;
    }

}


/* =================================
   HEADER
================================= */

.header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    height: 90px;

    padding: 0 5vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 20;
}

.mini-logo img {
    width: 125px;
    max-height: 52px;

    object-fit: contain;

    opacity: 0.88;

    transition: 0.3s ease;
}

.mini-logo:hover img {
    opacity: 1;
}

.instagram-link {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 10px 16px;

    border: 1px solid rgba(128, 92, 99, 0.22);

    background: rgba(255, 253, 252, 0.4);

    color: var(--rose-dark);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition: 0.3s ease;
}

.instagram-link svg {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.instagram-link:hover {
    background: var(--rose-dark);
    color: white;

    transform: translateY(-2px);
}


/* =================================
   HERO
================================= */

.hero {
    position: relative;

    min-height: 100vh;

    padding:
        130px
        7vw
        70px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.hero-content {
    position: relative;

    z-index: 5;

    width: 100%;
    max-width: 760px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    animation: heroIn 1s 0.3s both ease;
}

@keyframes heroIn {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* LOGO */

.hero-logo {
    margin-bottom: 18px;
}

.hero-logo img {
    width: min(320px, 72vw);
    max-height: 150px;

    object-fit: contain;

    filter: drop-shadow(
        0 10px 22px rgba(91, 65, 69, 0.08)
    );
}


/* TEXT */

.subtitle {
    margin-top: 5px;
    margin-bottom: 15px;

    color: var(--rose);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.25em;
}

h1 {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(54px, 7vw, 88px);

    font-weight: 600;

    line-height: 0.92;

    letter-spacing: -0.025em;
}

h1 span {
    display: block;

    color: var(--rose);
}

.description {
    margin-top: 20px;

    color: var(--text-soft);

    font-size: 13px;
    font-weight: 400;

    letter-spacing: 0.02em;
}


/* =================================
   CATALOG BUTTON
================================= */

.catalog-button {
    position: relative;

    margin-top: 31px;

    min-width: 185px;
    height: 52px;

    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    background: var(--rose-dark);
    color: var(--white);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    box-shadow:
        0 12px 30px rgba(128, 92, 99, 0.17);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.catalog-button::before {
    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 70%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.22),
        transparent
    );

    transform: skewX(-20deg);

    transition: left 0.6s ease;
}

.catalog-button:hover::before {
    left: 140%;
}

.catalog-button:hover {
    background: var(--plum);
    transform: translateY(-3px);

    box-shadow:
        0 16px 35px rgba(128, 92, 99, 0.22);
}

.catalog-button svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.6;

    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform 0.3s ease;
}

.catalog-button:hover svg {
    transform: translateX(4px);
}


/* =================================
   REVIEWS
================================= */

.reviews-area {
    position: absolute;

    right: 5vw;
    bottom: 8vh;

    width: 310px;

    z-index: 8;

    animation: reviewsIn 1s 0.8s both ease;
}

@keyframes reviewsIn {

    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}

.reviews-heading {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 12px;
}

.rating-number {
    font-family: "Cormorant Garamond", serif;

    font-size: 37px;
    font-weight: 600;

    line-height: 1;

    color: var(--rose-dark);
}

.rating-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.rating-info > span {
    color: var(--text-soft);

    font-size: 9px;
    letter-spacing: 0.06em;
}

.stars,
.review-stars {
    color: var(--rose);

    letter-spacing: 2px;
}

.stars {
    font-size: 11px;
}

.review-window {
    position: relative;

    width: 100%;

    overflow: hidden;
}

.review-track {
    display: flex;

    transition:
        transform 0.7s cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}

.review-card {
    min-width: 100%;

    padding: 18px 20px;

    background: rgba(255, 253, 252, 0.76);

    border: 1px solid rgba(128, 92, 99, 0.13);

    box-shadow:
        0 14px 40px rgba(92, 70, 68, 0.06);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 8px;
}

.quote {
    color: var(--mauve);

    font-family: "Cormorant Garamond", serif;

    font-size: 37px;
    line-height: 20px;
}

.review-stars {
    font-size: 9px;
}

.review-card p {
    min-height: 55px;

    color: var(--text);

    font-family: "Cormorant Garamond", serif;

    font-size: 17px;
    font-weight: 600;

    line-height: 1.25;
}

.review-author {
    display: block;

    margin-top: 11px;

    color: var(--text-soft);

    font-size: 8px;
    font-weight: 600;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.review-dots {
    display: flex;
    gap: 6px;

    margin-top: 11px;
}

.dot {
    width: 18px;
    height: 2px;

    padding: 0;

    border: 0;

    background: var(--blush);

    cursor: pointer;

    transition: 0.3s ease;
}

.dot.active {
    width: 30px;

    background: var(--rose);
}


/* =================================
   BACKGROUND DETAILS
================================= */

.background-shape {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.shape-one {
    width: 440px;
    height: 440px;

    right: -180px;
    top: 8%;

    border: 1px solid rgba(157, 115, 121, 0.12);

    animation: floatOne 8s ease-in-out infinite;
}

.shape-two {
    width: 270px;
    height: 270px;

    left: -150px;
    bottom: 8%;

    border: 1px solid rgba(197, 167, 170, 0.18);

    animation: floatTwo 9s ease-in-out infinite;
}

@keyframes floatOne {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-20px, 15px);
    }

}

@keyframes floatTwo {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -15px);
    }

}


/* =================================
   FOOTER
================================= */

.footer {
    position: absolute;

    left: 5vw;
    bottom: 28px;

    display: flex;
    align-items: center;
    gap: 11px;

    color: var(--text-soft);

    font-size: 8px;
    font-weight: 500;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    z-index: 10;
}

.footer-separator {
    width: 20px;
    height: 1px;

    background: var(--mauve);
}


/* =================================
   MOBILE
================================= */

@media (max-width: 900px) {

    .hero {
        min-height: 100svh;

        padding:
            115px
            6vw
            145px;
    }

    .hero-content {
        max-width: 600px;
    }

    .hero-logo img {
        width: min(270px, 70vw);
    }

    h1 {
        font-size: clamp(52px, 14vw, 75px);
    }

    .reviews-area {
        position: absolute;

        left: 50%;
        right: auto;

        bottom: 27px;

        width: min(350px, 86vw);

        transform: translateX(-50%);

        animation: reviewsMobileIn 1s 0.8s both ease;
    }

    @keyframes reviewsMobileIn {

        from {
            opacity: 0;
            transform: translate(-50%, 25px);
        }

        to {
            opacity: 1;
            transform: translate(-50%, 0);
        }

    }

    .footer {
        display: none;
    }

}


@media (max-width: 550px) {

    .header {
        height: 75px;

        padding: 0 5vw;
    }

    .mini-logo img {
        width: 105px;
        max-height: 45px;
    }

    .instagram-link {
        padding: 9px 12px;

        font-size: 8px;
    }

    .instagram-link svg {
        width: 15px;
        height: 15px;
    }

    .hero {
        padding:
            100px
            5vw
            145px;
    }

    .hero-logo {
        margin-bottom: 12px;
    }

    .hero-logo img {
        width: min(245px, 72vw);
    }

    .subtitle {
        margin-bottom: 12px;

        font-size: 8px;
    }

    h1 {
        font-size: clamp(48px, 15vw, 65px);
    }

    .description {
        margin-top: 15px;

        font-size: 11px;
    }

    .catalog-button {
        height: 49px;

        min-width: 175px;

        margin-top: 25px;
    }

    .reviews-area {
        bottom: 20px;

        width: 88vw;
    }

    .rating-number {
        font-size: 32px;
    }

    .review-card {
        padding: 15px 17px;
    }

    .review-card p {
        min-height: 48px;

        font-size: 15px;
    }

    .shape-one {
        width: 280px;
        height: 280px;

        right: -170px;
    }

    .shape-two {
        width: 200px;
        height: 200px;

        left: -150px;
    }

}


@media (max-height: 700px) and (min-width: 551px) {

    .hero {
        padding-top: 100px;
        padding-bottom: 90px;
    }

    .hero-logo img {
        width: 230px;
        max-height: 110px;
    }

    h1 {
        font-size: 60px;
    }

    .reviews-area {
        bottom: 30px;
    }

}