/* =========================================================
   INTRIVIVE
   BEDDING & LINEN
========================================================= */

:root {
    --blue: #2da3ef;
    --blue-dark: #137fcf;

    --black: #091119;

    --text: #365870;

    --glass: rgba(236, 247, 255, 0.74);
    --glass-light: rgba(255, 255, 255, 0.58);

    --border: rgba(255, 255, 255, 0.88);

    --shadow:
        0 16px 40px rgba(18, 54, 80, 0.08);
}



/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;

    font-family: "Inter", sans-serif;

    color: var(--black);

    background: #e4f2ff;

    overflow-x: hidden;
}


a {
    color: inherit;
    text-decoration: none;
}


img {
    display: block;
    max-width: 100%;
}



/* =========================================================
   BACKGROUND
========================================================= */

body::before {
    content: "";

    position: fixed;

    inset: 0;

    z-index: -2;

    background-image:
        url("Assets/linen.png");

    background-size: cover;

    background-position:
        center center;

    background-repeat:
        no-repeat;
}


body::after {
    content: "";

    position: fixed;

    inset: 0;

    z-index: -1;

    pointer-events: none;

    background:
        linear-gradient(180deg,
            rgba(228, 242, 255, 0.12),
            rgba(228, 242, 255, 0.22));
}



/* =========================================================
   PAGE
========================================================= */

.page {
    width:
        min(94%, 1450px);

    margin:
        0 auto;

    padding:
        16px 0 24px;
}



/* =========================================================
   TOPBAR
========================================================= */

.topbar {
    min-height:
        68px;

    margin-bottom:
        18px;

    padding:
        10px 15px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    border-radius:
        20px;

    background:
        rgba(236, 247, 255, 0.68);

    border:
        1px solid var(--border);

    backdrop-filter:
        blur(3px);

    -webkit-backdrop-filter:
        blur(3px);

    box-shadow:
        var(--shadow);
}


.brand img {
    width:
        110px;
}


.back-button {
    min-height:
        44px;

    padding:
        0 16px;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        9px;

    border-radius:
        13px;

    background:
        rgba(255, 255, 255, 0.58);

    border:
        1px solid var(--border);

    color:
        #183b54;

    font-family:
        "Bree Serif",
        serif;

    font-size:
        15px;

    transition:
        0.25s ease;
}


.back-button:hover {
    transform:
        translateX(-3px);

    background:
        rgba(255, 255, 255, 0.82);
}



/* =========================================================
   EYEBROWS
========================================================= */

.eyebrow {
    margin-bottom:
        10px;

    color:
        var(--blue-dark);

    font-size:
        11px;

    font-weight:
        600;

    text-transform:
        uppercase;

    letter-spacing:
        0.23em;
}



/* =========================================================
   HERO
========================================================= */

.hero-section {
    display:
        grid;

    grid-template-columns:
        minmax(0, 1.45fr) minmax(300px, 0.7fr);

    gap:
        15px;

    margin-bottom:
        14px;
}


.hero-main,
.softness-card {
    background:
        rgba(236, 247, 255, 0.75);

    border:
        1px solid var(--border);

    backdrop-filter:
        blur(3px);

    -webkit-backdrop-filter:
        blur(3px);

    box-shadow:
        var(--shadow);
}



/* =========================================================
   HERO MAIN
========================================================= */

.hero-main {
    padding:
        32px;

    border-radius:
        28px;
}


.hero-main h1 {
    margin-bottom:
        8px;

    font-family:
        "Bree Serif",
        serif;

    font-size:
        clamp(4rem,
            6vw,
            6rem);

    line-height:
        0.9;

    letter-spacing:
        -0.035em;
}


.hero-main h1 span {
    display:
        block;
}


.hero-main>h2 {
    margin-bottom:
        10px;

    color:
        #294f69;

    font-size:
        clamp(1.2rem,
            1.7vw,
            1.55rem);

    font-weight:
        600;
}


.hero-description {
    max-width:
        700px;

    margin-bottom:
        19px;

    color:
        var(--text);

    font-size:
        15px;

    line-height:
        1.7;
}



/* =========================================================
   TAGS
========================================================= */

.linen-tags {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        8px;

    margin-bottom:
        21px;
}


.linen-tags span {
    padding:
        9px 13px;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        7px;

    border-radius:
        999px;

    background:
        rgba(255, 255, 255, 0.62);

    border:
        1px solid var(--border);

    color:
        #2d5570;

    font-size:
        12px;
}


.linen-tags i {
    color:
        var(--blue-dark);
}



/* =========================================================
   BUTTON
========================================================= */

.primary-button {
    min-height:
        56px;

    padding:
        0 26px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        18px;

    border-radius:
        16px;

    background:
        linear-gradient(180deg,
            #39aff5,
            #1689db);

    color:
        white;

    font-family:
        "Bree Serif",
        serif;

    font-size:
        17px;

    box-shadow:
        0 15px 34px rgba(22, 137, 219, 0.24);

    position:
        relative;

    overflow:
        hidden;

    transition:
        0.25s ease;
}


.primary-button:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 20px 40px rgba(22, 137, 219, 0.31);
}


.primary-button::after {
    content: "";

    position:
        absolute;

    top:
        -80%;

    left:
        -65%;

    width:
        35%;

    height:
        260%;

    transform:
        rotate(20deg);

    background:
        linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.38),
            transparent);

    transition:
        left 0.65s ease;
}


.primary-button:hover::after {
    left:
        135%;
}



/* =========================================================
   SOFTNESS CARD
========================================================= */

.softness-card {
    padding:
        27px;

    border-radius:
        28px;
}


.softness-card>h2 {
    margin-bottom:
        19px;

    font-family:
        "Bree Serif",
        serif;

    font-size:
        clamp(2rem,
            3vw,
            2.8rem);

    line-height:
        1;
}


.softness-item {
    display:
        grid;

    grid-template-columns:
        48px 1fr;

    gap:
        13px;

    align-items:
        start;

    padding:
        15px 0;

    border-top:
        1px solid rgba(55, 92, 118, 0.10);
}


.softness-icon {
    width:
        44px;

    height:
        44px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        50%;

    background:
        rgba(209, 236, 255, 0.78);

    color:
        var(--blue-dark);

    font-size:
        17px;
}


.softness-item h3 {
    margin-bottom:
        4px;

    font-family:
        "Bree Serif",
        serif;

    font-size:
        17px;
}


.softness-item p {
    color:
        var(--text);

    font-size:
        12px;

    line-height:
        1.5;
}



/* =========================================================
   PROCESS
========================================================= */

.process-section {
    padding:
        23px;

    margin-bottom:
        14px;

    border-radius:
        27px;

    background:
        rgba(236, 247, 255, 0.76);

    border:
        1px solid var(--border);

    backdrop-filter:
        blur(3px);

    -webkit-backdrop-filter:
        blur(3px);

    box-shadow:
        var(--shadow);
}


.process-heading {
    display:
        flex;

    justify-content:
        space-between;

    align-items:
        flex-end;

    gap:
        30px;

    margin-bottom:
        17px;
}


.process-heading h2 {
    font-family:
        "Bree Serif",
        serif;

    font-size:
        clamp(2.3rem,
            3.6vw,
            3.4rem);

    line-height:
        1;
}


.process-heading>p {
    max-width:
        420px;

    color:
        var(--text);

    font-size:
        13px;

    line-height:
        1.6;
}



/* =========================================================
   PROCESS ROW
========================================================= */

.process-grid {
    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        10px;
}


.process-step {
    min-width:
        0;

    padding:
        17px;

    display:
        grid;

    grid-template-columns:
        auto auto 1fr;

    gap:
        10px;

    align-items:
        start;

    border-radius:
        19px;

    background:
        rgba(255, 255, 255, 0.58);

    border:
        1px solid var(--border);

    transition:
        0.25s ease;
}


.process-step:hover {
    transform:
        translateY(-4px);

    background:
        rgba(255, 255, 255, 0.73);
}


.step-number {
    color:
        var(--blue);

    font-family:
        "Bree Serif",
        serif;

    font-size:
        14px;
}


.step-icon {
    width:
        38px;

    height:
        38px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        50%;

    background:
        rgba(210, 237, 255, 0.80);

    color:
        var(--blue-dark);
}


.process-step h3 {
    margin-bottom:
        4px;

    font-family:
        "Bree Serif",
        serif;

    font-size:
        17px;
}


.process-step p {
    color:
        #46677e;

    font-size:
        11.5px;

    line-height:
        1.45;
}



/* =========================================================
   PERFECT FOR
========================================================= */

.perfect-section {
    padding:
        23px;

    margin-bottom:
        14px;

    border-radius:
        27px;

    background:
        rgba(236, 247, 255, 0.75);

    border:
        1px solid var(--border);

    backdrop-filter:
        blur(3px);

    -webkit-backdrop-filter:
        blur(3px);

    box-shadow:
        var(--shadow);
}


.perfect-heading {
    margin-bottom:
        16px;
}


.perfect-heading h2 {
    font-family:
        "Bree Serif",
        serif;

    font-size:
        clamp(2rem,
            3vw,
            2.8rem);
}


.perfect-grid {
    display:
        grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap:
        9px;
}


.perfect-card {
    padding:
        16px 13px;

    border-radius:
        18px;

    background:
        rgba(255, 255, 255, 0.58);

    border:
        1px solid var(--border);

    transition:
        0.25s ease;
}


.perfect-card:hover {
    transform:
        translateY(-4px);
}


.perfect-card>i {
    margin-bottom:
        10px;

    color:
        var(--blue-dark);

    font-size:
        20px;
}


.perfect-card h3 {
    margin-bottom:
        5px;

    font-family:
        "Bree Serif",
        serif;

    font-size:
        16px;
}


.perfect-card p {
    color:
        #4a687d;

    font-size:
        11px;

    line-height:
        1.45;
}



/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
    padding:
        27px 30px;

    margin-bottom:
        10px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        28px;

    border-radius:
        27px;

    background:
        rgba(236, 247, 255, 0.77);

    border:
        1px solid var(--border);

    backdrop-filter:
        blur(3px);

    -webkit-backdrop-filter:
        blur(3px);

    box-shadow:
        var(--shadow);
}


.final-cta h2 {
    margin-bottom:
        7px;

    font-family:
        "Bree Serif",
        serif;

    font-size:
        clamp(2rem,
            3vw,
            2.9rem);

    line-height:
        1;
}


.final-cta p:last-child {
    color:
        var(--text);

    font-size:
        14px;
}



/* =========================================================
   FOOTER
========================================================= */

footer {
    padding:
        18px 0;

    background:
        rgba(236, 247, 255, 0.74);

    border-top:
        1px solid var(--border);

    backdrop-filter:
        blur(3px);

    -webkit-backdrop-filter:
        blur(3px);
}


.footer-inner {
    width:
        min(94%, 1450px);

    margin:
        0 auto;

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    gap:
        20px;
}


.footer-inner p {
    color:
        #3d6076;

    font-size:
        12px;
}


.socials {
    display:
        flex;

    gap:
        9px;
}


.socials a {
    width:
        40px;

    height:
        40px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        50%;

    background:
        rgba(255, 255, 255, 0.58);

    border:
        1px solid var(--border);

    color:
        #204963;

    transition:
        0.25s ease;
}


.socials a:hover {
    transform:
        translateY(-3px);

    background:
        var(--blue);

    color:
        white;
}



/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp {
    position:
        fixed;

    right:
        20px;

    bottom:
        20px;

    z-index:
        1000;

    width:
        56px;

    height:
        56px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        50%;

    background:
        #25D366;

    color:
        white;

    font-size:
        28px;

    box-shadow:
        0 13px 28px rgba(0, 0, 0, 0.17);
}



/* =========================================================
   ENTRANCE ANIMATION
========================================================= */

.topbar {
    opacity:
        0;

    transform:
        translateY(-18px);

    animation:
        topEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}


.hero-main {
    opacity:
        0;

    transform:
        translateY(24px);

    animation:
        cardEnter 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}


.softness-card {
    opacity:
        0;

    transform:
        translateY(24px);

    animation:
        cardEnter 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}


@keyframes topEnter {

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes cardEnter {

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* no invisible blank-section problem */

.reveal {
    opacity:
        1;

    transform:
        none;
}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .hero-section {
        grid-template-columns:
            1fr 0.72fr;
    }


    .process-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .perfect-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

}



/* =========================================================
   PORTRAIT TABLETS
========================================================= */

@media (max-width: 1000px) and (orientation: portrait) {

    .page {
        width:
            92%;
    }


    .hero-section {
        grid-template-columns:
            1fr;
    }


    .hero-main h1 {
        font-size:
            clamp(4.3rem,
                9vw,
                5.8rem);
    }


    .process-heading {
        display:
            block;
    }


    .process-heading h2 {
        margin-bottom:
            10px;
    }


    .process-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .perfect-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {


    /* 9:16 MOBILE BACKGROUND */

    body::before {
        background-image:
            url("Assets/linen2.png");

        background-size:
            cover;

        background-position:
            center top;

        background-repeat:
            no-repeat;
    }


    body::after {
        background:
            linear-gradient(180deg,
                rgba(228, 242, 255, 0.12),
                rgba(228, 242, 255, 0.20));
    }



    /* PAGE */

    .page {
        width:
            92%;

        padding:
            10px 0 18px;
    }



    /* TOPBAR */

    .topbar {
        min-height:
            58px;

        padding:
            8px 10px;

        margin-bottom:
            10px;

        border-radius:
            17px;
    }


    .brand img {
        width:
            82px;
    }


    .back-button {
        min-height:
            40px;

        padding:
            0 12px;

        font-size:
            13px;
    }



    /* HERO */

    .hero-section {
        display:
            block;

        margin-bottom:
            10px;
    }


    .hero-main {
        padding:
            20px 17px;

        margin-bottom:
            10px;

        border-radius:
            21px;
    }


    .hero-main h1 {
        font-size:
            clamp(3.3rem,
                15vw,
                4.8rem);

        margin-bottom:
            8px;
    }


    .hero-main>h2 {
        font-size:
            17px;
    }


    .hero-description {
        margin-bottom:
            15px;

        font-size:
            13px;

        line-height:
            1.55;
    }



    /* TAGS */

    .linen-tags {
        gap:
            6px;

        margin-bottom:
            17px;
    }


    .linen-tags span {
        padding:
            7px 9px;

        gap:
            5px;

        font-size:
            10px;
    }



    /* BUTTON */

    .primary-button {
        width:
            100%;

        min-height:
            52px;

        font-size:
            15px;
    }



    /* SOFTNESS */

    .softness-card {
        padding:
            19px 17px;

        border-radius:
            21px;
    }


    .softness-card>h2 {
        font-size:
            2rem;

        margin-bottom:
            10px;
    }


    .softness-item {
        grid-template-columns:
            38px 1fr;

        gap:
            10px;

        padding:
            11px 0;
    }


    .softness-icon {
        width:
            36px;

        height:
            36px;

        font-size:
            14px;
    }


    .softness-item h3 {
        font-size:
            15px;
    }


    .softness-item p {
        font-size:
            10.5px;
    }



    /* PROCESS */

    .process-section {
        padding:
            15px 12px;

        margin-bottom:
            10px;

        border-radius:
            21px;
    }


    .process-heading {
        display:
            block;

        margin-bottom:
            12px;
    }


    .process-heading h2 {
        margin-bottom:
            7px;

        font-size:
            2rem;
    }


    .process-heading>p {
        font-size:
            11px;
    }


    /* MOBILE PROCESS = 2 × 2 */

    .process-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            8px;
    }


    .process-step {
        display:
            block;

        min-height:
            170px;

        padding:
            13px 11px;

        border-radius:
            17px;
    }


    .step-number {
        display:
            block;

        margin-bottom:
            7px;
    }


    .step-icon {
        width:
            35px;

        height:
            35px;

        margin-bottom:
            9px;

        font-size:
            14px;
    }


    .process-step h3 {
        font-size:
            15px;
    }


    .process-step p {
        font-size:
            10px;

        line-height:
            1.4;
    }



    /* PERFECT FOR */

    .perfect-section {
        padding:
            15px 12px;

        margin-bottom:
            10px;

        border-radius:
            21px;
    }


    .perfect-heading h2 {
        font-size:
            2rem;
    }


    .perfect-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap:
            7px;
    }


    .perfect-card {
        padding:
            13px 10px;

        border-radius:
            16px;
    }


    .perfect-card>i {
        margin-bottom:
            7px;

        font-size:
            17px;
    }


    .perfect-card h3 {
        font-size:
            14px;
    }


    .perfect-card p {
        font-size:
            9.5px;
    }



    /* FINAL CTA */

    .final-cta {
        display:
            block;

        padding:
            19px 17px;

        margin-bottom:
            8px;

        border-radius:
            21px;
    }


    .final-cta h2 {
        font-size:
            1.9rem;
    }


    .final-cta p:last-child {
        font-size:
            12px;
    }


    .final-cta .primary-button {
        margin-top:
            15px;
    }



    /* FOOTER */

    footer {
        padding:
            16px 0;
    }


    .footer-inner {
        width:
            92%;

        flex-direction:
            column;

        text-align:
            center;

        gap:
            12px;
    }


    .socials a {
        width:
            36px;

        height:
            36px;
    }



    /* WHATSAPP */

    .whatsapp {
        width:
            50px;

        height:
            50px;

        right:
            14px;

        bottom:
            14px;

        font-size:
            24px;
    }

}



/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        transition-duration:
            0.01ms !important;
    }

}