/* =========================================================
   DIVINE CREATIONS
   HOME PAGE — SERVICES SECTION
   Responsive: Desktop / Laptop / Tablet / Mobile
   ========================================================= */


/* =========================================================
   SERVICES — BASE
   ========================================================= */

.services {
    position: relative;
    width: 100%;
    background: #171717;
    color: #ffffff;
    padding: 105px 0 90px;
    overflow: hidden;
}

.services .container {
    width: min(calc(100% - 100px), 1280px);
    margin: 0 auto;
}


/* =========================================================
   SERVICES HEADER
   ========================================================= */

.services .section-tag {
    display: block;

    margin: 0 0 18px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;

    letter-spacing: 4px;
    text-transform: uppercase;

    color: #cda766;

    text-align: center;
}


/* Main heading */

.services h2 {
    position: relative;

    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(48px, 5vw, 68px);
    font-weight: 500;
    line-height: 1.05;

    letter-spacing: -1px;

    color: #ffffff !important;

    text-align: center;

    opacity: 1 !important;
    visibility: visible !important;
}


/* Gold divider */

.services h2::after {
    content: "";

    display: block;

    width: 55px;
    height: 1px;

    margin: 26px auto 0;

    background: #cda766;
}


/* =========================================================
   SERVICES GRID
   ========================================================= */

.services-grid {
    position: relative;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    margin-top: 65px;

    border-top: none;
    border-bottom: 1px solid rgba(205, 167, 102, 0.22);
}


/* =========================================================
   SERVICE CARD
   ========================================================= */

.service-card {
    position: relative;

    min-height: 320px;

    padding: 50px 32px 45px;

    text-align: center;

    border-right: 1px solid rgba(255, 255, 255, 0.12);

    background: transparent;

    transition:
        background-color 0.4s ease,
        transform 0.4s ease;
}


/* Remove border from final desktop card */

.service-card:last-child {
    border-right: none;
}


/* Hover */

.service-card:hover {
    background: rgba(255, 255, 255, 0.025);
}


/* =========================================================
   SERVICE ICON
   ========================================================= */

.service-card .icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin: 0 auto 34px;

    font-size: 25px;
    line-height: 1;

    color: #cda766;

    border: 1px solid rgba(205, 167, 102, 0.55);

    border-radius: 50%;

    background: transparent;

    transition:
        background-color 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease;
}


/* Icon hover */

.service-card:hover .icon {
    background: #cda766;

    border-color: #cda766;

    color: #171717;

    transform: translateY(-4px);
}


/* =========================================================
   SERVICE TITLE
   ========================================================= */

.service-card h3 {
    margin: 0 0 17px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 29px;
    font-weight: 500;
    line-height: 1.15;

    letter-spacing: -0.2px;

    color: #ffffff;
}


/* =========================================================
   SERVICE DESCRIPTION
   ========================================================= */

.service-card p {
    width: 100%;
    max-width: 255px;

    margin: 0 auto;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.75;

    color: rgba(255, 255, 255, 0.62);
}


/* =========================================================
   SERVICE CARD NUMBER
   Works if data-number exists
   ========================================================= */

.service-card::after {
    content: attr(data-number);

    position: absolute;

    right: 25px;
    bottom: 22px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 9px;
    font-weight: 500;

    letter-spacing: 2px;

    color: rgba(205, 167, 102, 0.35);
}


/* =========================================================
   GRID DECORATIVE GOLD LINE
   ========================================================= */




/* =========================================================
   SERVICES BUTTON
   ========================================================= */

.services .btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: fit-content;

    min-height: 46px;

    margin: 48px auto 0;
    padding: 0 30px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;

    line-height: 1;

    letter-spacing: 1.8px;
    text-transform: uppercase;

    text-decoration: none;

    color: #ffffff;

    background: transparent;

    border: 1px solid #cda766;

    transition:
        background-color 0.35s ease,
        color 0.35s ease,
        transform 0.35s ease;
}


/* Button hover */

.services .btn:hover {
    background: #cda766;

    color: #171717;

    transform: translateY(-2px);
}


/* =========================================================
   LARGE DESKTOP
   1440px+
   ========================================================= */

@media (min-width: 1440px) {

    .services {
        padding-top: 120px;
        padding-bottom: 100px;
    }

    .services .container {
        width: min(calc(100% - 120px), 1400px);
    }

    .services-grid {
        margin-top: 78px;
    }

    .service-card {
        min-height: 340px;

        padding: 55px 40px 48px;
    }

    .service-card h3 {
        font-size: 31px;
    }

}


/* =========================================================
   LAPTOP
   1200px — 1439px
   ========================================================= */

@media (min-width: 1200px) and (max-width: 1439px) {

    .services {
        padding: 100px 0 85px;
    }

    .services .container {
        width: min(calc(100% - 80px), 1280px);
    }

    .services-grid {
        margin-top: 65px;
    }

    .service-card {
        min-height: 315px;

        padding: 48px 28px 42px;
    }

}


/* =========================================================
   TABLET LANDSCAPE
   1025px — 1199px
   ========================================================= */

@media (min-width: 1025px) and (max-width: 1199px) {

    .services {
        padding: 90px 0 80px;
    }

    .services .container {
        width: calc(100% - 70px);
    }

    .services h2 {
        font-size: 55px;
    }

    .services-grid {
        margin-top: 58px;
    }

    .service-card {
        min-height: 300px;

        padding: 45px 22px 40px;
    }

    .service-card .icon {
        margin-bottom: 30px;
    }

    .service-card h3 {
        font-size: 26px;
    }

    .service-card p {
        font-size: 12px;
    }

}


/* =========================================================
   TABLET
   768px — 1024px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

    .services {
        padding: 85px 0 75px;
    }

    .services .container {
        width: calc(100% - 60px);
    }

    .services .section-tag {
        font-size: 10px;
        letter-spacing: 3.5px;
    }

    .services h2 {
        max-width: 700px;

        font-size: 52px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        margin-top: 55px;
    }

    .service-card {
        min-height: 285px;

        padding: 42px 28px 40px;
    }


    /* Vertical borders */

    .service-card:nth-child(2) {
        border-right: none;
    }

    .service-card:nth-child(1),
    .service-card:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .service-card:nth-child(3) {
        border-bottom: none;
    }

    .service-card:nth-child(4) {
        border-right: none;
    }


    .service-card .icon {
        width: 50px;
        height: 50px;

        margin-bottom: 28px;
    }

    .service-card h3 {
        font-size: 28px;
    }

    .service-card p {
        max-width: 260px;

        font-size: 12px;
    }

}


/* =========================================================
   MOBILE LARGE
   576px — 767px
   ========================================================= */

@media (min-width: 576px) and (max-width: 767px) {

    .services {
        padding: 75px 0 65px;
    }

    .services .container {
        width: calc(100% - 44px);
    }

    .services .section-tag {
        margin-bottom: 15px;

        font-size: 9px;
        letter-spacing: 3px;
    }

    .services h2 {
        max-width: 520px;

        font-size: 45px;

        letter-spacing: -0.5px;
    }

    .services h2::after {
        width: 45px;

        margin-top: 22px;
    }

    .services-grid {
        grid-template-columns: 1fr;

        margin-top: 45px;
    }

    .service-card {
        min-height: auto;

        padding: 42px 28px 48px;

        border-right: none;

        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .service-card:last-child {
        border-bottom: none;
    }

    .service-card .icon {
        width: 50px;
        height: 50px;

        margin-bottom: 25px;
    }

    .service-card h3 {
        font-size: 29px;
    }

    .service-card p {
        max-width: 380px;

        font-size: 12px;
    }

    .services .btn {
        margin-top: 38px;
    }

}


/* =========================================================
   MOBILE
   0 — 575px
   ========================================================= */

@media (max-width: 575px) {

    .services {
        padding: 65px 0 55px;
    }

    .services .container {
        width: calc(100% - 32px);
    }


    /* Section tag */

    .services .section-tag {
        margin-bottom: 14px;

        font-size: 8px;
        letter-spacing: 2.8px;
    }


    /* Heading */

    .services h2 {
        max-width: 340px;

        font-size: 39px;

        line-height: 1.08;

        letter-spacing: -0.4px;
    }

    .services h2::after {
        width: 42px;

        margin-top: 20px;
    }


    /* Grid */

    .services-grid {
        grid-template-columns: 1fr;

        margin-top: 40px;

        border-top: 1px solid rgba(205, 167, 102, 0.25);
        border-bottom: 1px solid rgba(205, 167, 102, 0.25);
    }


    /* Cards */

    .service-card,
    .service-card:nth-child(n) {
        min-height: auto;

        padding: 40px 20px 45px;

        border-right: none;

        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .service-card:last-child {
        border-bottom: none;
    }


    /* Icon */

    .service-card .icon {
        width: 48px;
        height: 48px;

        margin-bottom: 23px;

        font-size: 23px;
    }


    /* Title */

    .service-card h3 {
        margin-bottom: 13px;

        font-size: 27px;

        line-height: 1.15;
    }


    /* Description */

    .service-card p {
        max-width: 290px;

        font-size: 11.5px;

        line-height: 1.7;
    }


    /* Number */

    .service-card::after {
        right: 17px;
        bottom: 17px;

        font-size: 8px;
    }


    /* Button */

    .services .btn {
        min-height: 44px;

        margin-top: 35px;
        padding: 0 24px;

        font-size: 9px;
        letter-spacing: 1.5px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   0 — 380px
   ========================================================= */

@media (max-width: 380px) {

    .services {
        padding-top: 58px;
    }

    .services .container {
        width: calc(100% - 26px);
    }

    .services h2 {
        font-size: 35px;
    }

    .service-card {
        padding-left: 16px;
        padding-right: 16px;
    }

    .service-card h3 {
        font-size: 25px;
    }

}
