/* =========================================================
   ROOMERA
   WHY CHOOSE US / BENEFITS
   ========================================================= */


/* =========================================================
   SECTION
   ========================================================= */

.roomera-benefits {
    position: relative;

    width: 100%;

    margin: 0;

    padding: 64px 0 68px;

    background: #fbfaf7;
}


/* =========================================================
   HEADING
   ========================================================= */

.roomera-benefits-heading {
    display: flex;

    flex-direction: column;

    align-items: center;

    margin: 0 0 32px;

    text-align: center;
}


.roomera-benefits-heading h2 {
    margin: 0;

    color: #102a40;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(32px, 2.6vw, 40px);
    font-weight: 400;

    line-height: 1.15;

    letter-spacing: -0.025em;
}


.roomera-benefits-line {
    display: block;

    width: 54px;
    height: 1px;

    margin-top: 15px;

    background: #c8ad77;
}


/* =========================================================
   GRID
   ========================================================= */

.roomera-benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;

    width: 100%;
}


/* =========================================================
   CARD
   ========================================================= */

.roomera-benefit-card {
    position: relative;

    display: flex;

    flex-direction: column;

    min-width: 0;
    min-height: 190px;

    padding: 22px 21px 21px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fdfaf4 100%
        );

    border:
        1px solid #e1d9cc;

    border-radius: 9px;

    box-shadow:
        0 2px 8px rgba(16, 42, 64, 0.025);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.roomera-benefit-card::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;
    left: 0;

    height: 2px;

    background: #cdb381;

    opacity: 0;

    transition: opacity 0.25s ease;
}


.roomera-benefit-card:hover {
    transform: translateY(-4px);

    border-color: #d1c2aa;

    box-shadow:
        0 14px 30px rgba(16, 42, 64, 0.07);
}


.roomera-benefit-card:hover::before {
    opacity: 1;
}


/* =========================================================
   CARD TOP
   ========================================================= */

.roomera-benefit-top {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    width: 100%;

    margin-bottom: 20px;
}


/* =========================================================
   ICON
   ========================================================= */

.roomera-benefit-icon {
    display: flex;

    flex: 0 0 58px;

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

    width: 58px;
    height: 58px;

    color: #102a40;

    background: #f6f1e8;

    border:
        1px solid #e2d7c5;

    border-radius: 50%;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.roomera-benefit-icon svg {
    display: block;

    width: 30px;
    height: 30px;
}


.roomera-benefit-card:hover
.roomera-benefit-icon {
    background: #efe4d1;

    border-color: #d5bf97;

    transform: translateY(-2px);
}


/* =========================================================
   NUMBER
   ========================================================= */

.roomera-benefit-number {
    display: block;

    padding-top: 3px;

    color: #d3c8b7;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

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

    line-height: 1;

    letter-spacing: 0.08em;
}


/* =========================================================
   CONTENT
   ========================================================= */

.roomera-benefit-content {
    margin-top: auto;
}


.roomera-benefit-content h3 {
    margin: 0 0 9px;

    color: #102a40;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

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

    line-height: 1.25;

    letter-spacing: -0.015em;
}


.roomera-benefit-content p {
    max-width: 260px;

    margin: 0;

    color: #69757e;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

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

    line-height: 1.55;
}


/* =========================================================
   LARGE TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .roomera-benefits {
        padding:
            56px
            0
            60px;
    }


    .roomera-benefits-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 16px;
    }


    .roomera-benefit-card {
        min-height: 175px;
    }


    .roomera-benefit-content p {
        max-width: 420px;
    }

}


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

@media (max-width: 640px) {

    .roomera-benefits {
        padding:
            44px
            0
            48px;
    }


    .roomera-benefits-heading {
        margin-bottom: 24px;
    }


    .roomera-benefits-heading h2 {
        font-size: 30px;
    }


    .roomera-benefits-line {
        width: 44px;

        margin-top: 12px;
    }


    .roomera-benefits-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }


    .roomera-benefit-card {
        min-height: 180px;

        padding:
            16px
            14px
            16px;

        border-radius: 7px;
    }


    .roomera-benefit-top {
        margin-bottom: 16px;
    }


    .roomera-benefit-icon {
        flex-basis: 46px;

        width: 46px;
        height: 46px;
    }


    .roomera-benefit-icon svg {
        width: 24px;
        height: 24px;
    }


    .roomera-benefit-number {
        font-size: 11px;
    }


    .roomera-benefit-content h3 {
        margin-bottom: 7px;

        font-size: 16px;

        line-height: 1.2;
    }


    .roomera-benefit-content p {
        font-size: 10.5px;

        line-height: 1.45;
    }

}


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

@media (max-width: 390px) {

    .roomera-benefits-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .roomera-benefit-card {
        min-height: 155px;

        padding: 18px;
    }


    .roomera-benefit-top {
        margin-bottom: 14px;
    }


    .roomera-benefit-content h3 {
        font-size: 18px;
    }


    .roomera-benefit-content p {
        max-width: 100%;

        font-size: 12px;
    }

}