/* =========================================================
   ILUMINA DENTAL STUDIO
   HOME SERVICES
   ========================================================= */

.ilumina-services-home {
    --service-paper: #fffefa;
    --service-ivory: #f5f1ea;
    --service-gold: #a88b51;
    --service-gold-dark: #7f6533;
    --service-ink: #42382e;
    --service-body: #6a655e;
    --service-line: #e8e1d6;
    --service-rose: #cf8795;

    position: relative;
    left: 50%;

    width: 100vw;
    max-width: none;

    margin-left: -50vw;
    margin-right: -50vw;

    padding: 92px 42px 96px;

    background: var(--service-ivory);

    color: var(--service-ink);

    box-sizing: border-box;
}


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

.ilumina-services-home__header {
    max-width: 760px;

    margin: 0 auto 48px;

    text-align: center;
}

.ilumina-services-home__eyebrow {
    margin: 0 0 12px;

    color: var(--service-gold-dark);

    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 600;

    letter-spacing: .22em;
    text-transform: uppercase;
}

.ilumina-services-home__header h2 {
    margin: 0;

    color: var(--service-ink);

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(44px, 4vw, 62px);
    font-weight: 500;

    line-height: 1;
}

.ilumina-services-home__intro {
    max-width: 590px;

    margin: 16px auto 0;

    color: var(--service-body);

    font-family: "DM Sans", sans-serif;
    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   SERVICES CAROUSEL
   ========================================================= */

.ilumina-services-carousel {
    display: grid;

    grid-template-columns:
        48px
        minmax(0, 1fr)
        48px;

    align-items: center;

    gap: 18px;

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

    margin: 0 auto;
}

.ilumina-services-carousel.is-static {
    grid-template-columns: minmax(0, 1fr);
}

.ilumina-services-carousel.is-static
.ilumina-services-carousel__control {
    display: none;
}

.ilumina-services-carousel__viewport {
    width: 100%;

    overflow: hidden;
}

.ilumina-services-carousel__track {
    display: flex;

    align-items: stretch;

    gap: 24px;

    width: 100%;

    transition:
        transform .55s
        cubic-bezier(.22, .61, .36, 1);

    will-change: transform;
}

.ilumina-services-carousel__track.is-short {
    justify-content: center;
}


/* =========================================================
   OUTER ARROWS
   ========================================================= */

.ilumina-services-carousel__control {
    display: flex;

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

    width: 48px;
    height: 48px;

    padding: 0;

    border:
        1px solid
        rgba(168, 139, 81, .55);

    border-radius: 50%;

    background: var(--service-paper);

    color: var(--service-gold-dark);

    font-family: Arial, sans-serif;
    font-size: 34px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        opacity .2s ease;
}

.ilumina-services-carousel__control:hover:not(:disabled) {
    background: var(--service-gold);

    border-color: var(--service-gold);

    color: #fff;
}

.ilumina-services-carousel__control:disabled {
    opacity: .26;

    cursor: default;
}


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

.ilumina-service-card {
    flex:
        0 0
        calc(
            (100% - 72px) / 4
        );

    min-width: 0;

    overflow: hidden;

    border:
        1px solid
        var(--service-line);

    background: #fff;

    box-sizing: border-box;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.ilumina-service-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 42px
        rgba(66, 56, 46, .08);
}


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

.ilumina-service-card__gallery {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 11;

    overflow: hidden;

    background: #eeeae3;
}

.ilumina-service-card__gallery--empty {
    background:
        linear-gradient(
            135deg,
            #f3eee6,
            #ebe3d8
        );
}

.ilumina-service-card__image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    opacity: 0;

    transform: scale(1.015);

    transition:
        opacity .4s ease,
        transform .6s ease;
}

.ilumina-service-card__image.is-active {
    opacity: 1;

    transform: scale(1);
}


/* =========================================================
   INTERNAL PHOTO ARROWS
   ========================================================= */

.ilumina-service-card__image-control {
    position: absolute;

    top: 50%;

    z-index: 3;

    display: flex;

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

    width: 38px;
    height: 38px;

    padding: 0;

    border:
        1px solid
        rgba(255,255,255,.55);

    border-radius: 50%;

    background:
        rgba(30, 29, 26, .48);

    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transform: translateY(-50%);

    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);

    transition:
        background .2s ease,
        opacity .2s ease;
}

.ilumina-service-card__image-control:hover {
    background:
        rgba(168, 139, 81, .92);
}

.ilumina-service-card__image-control--prev {
    left: 12px;
}

.ilumina-service-card__image-control--next {
    right: 12px;
}


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

.ilumina-service-card__content {
    display: flex;

    flex-direction: column;

    min-height: 270px;

    padding: 27px 26px 25px;

    box-sizing: border-box;
}

.ilumina-service-card__category {
    margin: 0 0 12px;

    color: var(--service-gold-dark);

    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    font-weight: 600;

    letter-spacing: .15em;
    text-transform: uppercase;
}

.ilumina-service-card__title {
    margin: 0 0 12px;

    color: var(--service-ink);

    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
    font-weight: 500;

    line-height: 1.05;
}

.ilumina-service-card__description {
    margin: 0 0 26px;

    color: var(--service-body);

    font-family: "DM Sans", sans-serif;
    font-size: 13px;

    line-height: 1.65;
}

.ilumina-service-card__open {
    display: flex;

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

    gap: 18px;

    width: 100%;

    margin-top: auto;
    padding: 16px 0 0;

    border: 0;
    border-top:
        1px solid
        var(--service-line);

    background: transparent;

    color: var(--service-gold-dark);

    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;

    text-align: left;

    cursor: pointer;
}

.ilumina-service-card__open span {
    font-size: 19px;

    transition: transform .2s ease;
}

.ilumina-service-card__open:hover span {
    transform: translateX(4px);
}


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

.ilumina-services-home__footer {
    display: flex;

    justify-content: center;

    margin-top: 42px;
}

.ilumina-services-home__all {
    display: inline-flex;

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

    min-height: 48px;

    padding: 0 28px;

    border:
        1px solid
        var(--service-gold);

    border-radius: 999px;

    color: var(--service-gold-dark);

    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease;
}

.ilumina-services-home__all:hover {
    background: var(--service-gold);

    color: #fff;
}


/* =========================================================
   SERVICE DIALOG
   ========================================================= */

.ilumina-service-dialog {
    width:
        min(
            720px,
            calc(100vw - 40px)
        );

    max-height: 88vh;

    padding: 0;

    overflow: visible;

    border: 0;
    border-radius: 7px;

    background: #fff;

    color: var(--service-ink);

    box-shadow:
        0 30px 90px
        rgba(20, 20, 18, .30);
}

.ilumina-service-dialog::backdrop {
    background:
        rgba(38, 39, 33, .70);

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

.ilumina-service-dialog__content {
    position: relative;

    max-height: 88vh;

    padding: 48px 50px 44px;

    overflow-y: auto;

    box-sizing: border-box;
}

.ilumina-service-dialog__close {
    position: absolute;

    top: 18px;
    right: 18px;

    display: flex;

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

    width: 34px;
    height: 34px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: var(--service-ivory);

    color: var(--service-body);

    font-size: 24px;

    cursor: pointer;
}

.ilumina-service-dialog__category {
    margin: 0 0 14px;

    color: var(--service-gold-dark);

    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    font-weight: 600;

    letter-spacing: .18em;
    text-transform: uppercase;
}

.ilumina-service-dialog h2 {
    max-width: 580px;

    margin: 0 0 20px;

    color: var(--service-ink);

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(38px, 5vw, 52px);
    font-weight: 500;

    line-height: 1;
}

.ilumina-service-dialog__intro {
    margin: 0 0 28px;

    color: var(--service-body);

    font-family: "DM Sans", sans-serif;
    font-size: 14px;

    line-height: 1.75;
}

.ilumina-service-dialog__steps h3 {
    margin: 0 0 14px;

    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
    font-weight: 500;
}

.ilumina-service-dialog__steps ol {
    margin: 0 0 28px;
    padding-left: 24px;

    color: var(--service-body);

    font-family: "DM Sans", sans-serif;
    font-size: 13px;

    line-height: 1.8;
}

.ilumina-service-dialog__steps li {
    padding-left: 5px;

    margin-bottom: 7px;
}

.ilumina-service-dialog__note {
    margin: 0 0 28px;

    padding: 20px 22px;

    border-left:
        2px solid
        var(--service-gold);

    background: var(--service-ivory);

    color: var(--service-body);

    font-family: "DM Sans", sans-serif;
    font-size: 13px;

    line-height: 1.65;
}

.ilumina-service-dialog__whatsapp {
    display: inline-flex;

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

    min-height: 50px;

    padding: 0 24px;

    border:
        2px solid
        var(--service-gold);

    border-radius: 999px;

    background: var(--service-gold);

    color: #fff;

    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease;
}

.ilumina-service-dialog__whatsapp:hover {
    background: var(--service-gold-dark);

    border-color: var(--service-gold-dark);

    color: #fff;
}


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

@media (max-width: 1100px) {

    .ilumina-services-home {
        padding:
            76px
            26px
            82px;
    }

    .ilumina-service-card {
        flex:
            0 0
            calc(
                (100% - 24px) / 2
            );
    }

}


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

@media (max-width: 680px) {

    .ilumina-services-home {
        padding:
            64px
            18px
            70px;
    }

    .ilumina-services-home__header {
        margin-bottom: 34px;
    }

    .ilumina-services-carousel {
        grid-template-columns:
            38px
            minmax(0, 1fr)
            38px;

        gap: 8px;
    }

    .ilumina-services-carousel__control {
        width: 38px;
        height: 38px;

        font-size: 28px;
    }

    .ilumina-services-carousel__track {
        gap: 16px;
    }

    .ilumina-service-card {
        flex:
            0 0
            100%;
    }

    .ilumina-service-card__content {
        min-height: 250px;

        padding:
            24px
            22px;
    }

    .ilumina-service-card__title {
        font-size: 28px;
    }

    .ilumina-service-dialog__content {
        padding:
            46px
            25px
            34px;
    }

}
/* === ILUMINA SERVICES HEADER CENTER V1 START === */

.ilumina-services-home__header {
    width: 100%;
    max-width: 1000px;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.ilumina-services-home__header h2 {
    display: block;
    width: 100%;
    max-width: none;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
}

.ilumina-services-home__eyebrow,
.ilumina-services-home__intro {
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
}

/* === ILUMINA SERVICES HEADER CENTER V1 END === */
