/* =========================================================
   SP FLOORING SERVICES
   SERVICES LANDING
   ========================================================= */


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

.services-showcase {
    position: relative;
    min-height: 780px;
    overflow: hidden;
    color: #fff;
    background: #070908;
    isolation: isolate;
}

.services-showcase__slides {
    position: absolute;
    inset: 0;
}

.services-showcase__slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity .7s ease,
        visibility .7s ease;
}

.services-showcase__slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.services-showcase__image {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.025);
    transition: transform 7s ease;
}

.services-showcase__slide.is-active .services-showcase__image {
    transform: scale(1.07);
}

.services-showcase__slide--carpet .services-showcase__image {
    object-position: center 58%;
}

.services-showcase__slide--vinyl .services-showcase__image {
    object-position: center 55%;
}

.services-showcase__slide--laminate .services-showcase__image {
    object-position: center 62%;
}

.services-showcase__slide--lvt .services-showcase__image {
    object-position: center 58%;
}

.services-showcase__overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg,
            rgba(5, 8, 5, .92) 0%,
            rgba(5, 8, 5, .82) 31%,
            rgba(5, 8, 5, .38) 58%,
            rgba(5, 8, 5, .16) 100%),
        linear-gradient(180deg,
            rgba(5, 8, 5, .36) 0%,
            transparent 42%,
            rgba(5, 8, 5, .66) 100%);
}

.services-showcase__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .16;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(90deg, #000, transparent 70%);
    pointer-events: none;
}

.services-showcase__inner {
    width: min(calc(100% - 48px), 1480px);
    margin-inline: auto;
    padding-top: calc(var(--header-height) + 82px);
    padding-bottom: 180px;
}

.services-showcase__copy {
    max-width: 760px;
}

.services-showcase__meta {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .52);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.services-showcase__meta span {
    color: var(--green);
}

.services-showcase__meta strong {
    font: inherit;
}

.services-showcase__title {
    max-width: 820px;
    margin: 0;
    color: #fff;
    font-size: clamp(56px, 6.2vw, 94px);
    line-height: .91;
    letter-spacing: -.062em;
}

.services-showcase__title span {
    display: block;
    color: rgba(255, 255, 255, .38);
}

.services-showcase__copy>p {
    max-width: 680px;
    margin: 27px 0 0;
    color: rgba(255, 255, 255, .67);
    font-size: 17px;
    line-height: 1.8;
}

.services-showcase__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button--glass {
    color: #fff;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.button--glass:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .34);
}

.services-showcase__navigation {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 34px;
    width: min(calc(100% - 48px), 1480px);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    transform: translateX(-50%);
}

.services-showcase__arrows {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.services-showcase__arrow {
    appearance: none;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #fff;
    background: rgba(8, 11, 8, .48);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    cursor: pointer;
    font: inherit;
    font-size: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        color .22s ease,
        background .22s ease,
        border-color .22s ease,
        transform .22s ease;
}

.services-showcase__arrow:hover {
    color: #0b1109;
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-2px);
}

.services-showcase__tabs {
    width: min(760px, 72vw);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.services-showcase__tab {
    appearance: none;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 15px 16px 10px;
    color: rgba(255, 255, 255, .45);
    background: transparent;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, .12);
    cursor: pointer;
    text-align: left;
    transition:
        color .22s ease,
        background .22s ease;
}

.services-showcase__tab:last-child {
    border-right: 0;
}

.services-showcase__tab span {
    color: rgba(255, 255, 255, .32);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}

.services-showcase__tab strong {
    font-size: 12px;
    font-weight: 850;
}

.services-showcase__tab:hover,
.services-showcase__tab.is-active {
    color: #fff;
    background: rgba(255, 255, 255, .045);
}

.services-showcase__tab.is-active span {
    color: var(--green);
}

.services-showcase__progress {
    position: absolute;
    z-index: 6;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
}

.services-showcase__progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left center;
}


/* =========================================================
   INTRO
   ========================================================= */

.services-intro {
    background: #fff;
}

.services-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(50px, 8vw, 120px);
    align-items: start;
}

.services-intro__content {
    max-width: 700px;
}

.services-intro__content p {
    margin: 0 0 20px;
    color: #61665e;
    font-size: 16px;
    line-height: 1.85;
}

.services-intro__content .services-intro__lead {
    color: #171b16;
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: -.02em;
}

.services-intro__points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.services-intro__points span {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    color: #35402f;
    background: #f4f6f1;
    border: 1px solid #e2e7de;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
}


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

.services-landing {
    background: #f5f6f2;
}

.services-landing__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    position: relative;
    min-height: 540px;
    display: flex;
    overflow: hidden;
    color: #fff;
    background: #0a0d0a;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 26px;
    text-decoration: none;
    isolation: isolate;
    box-shadow: 0 22px 55px rgba(16, 20, 15, .11);
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(146, 214, 50, .34);
    box-shadow: 0 34px 78px rgba(16, 20, 15, .18);
}

.service-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 430px;
    height: 430px;
    right: -190px;
    bottom: -220px;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgba(146, 214, 50, .2),
            transparent 68%);
    pointer-events: none;
}

.service-card__image {
    position: absolute;
    inset: 0;
    z-index: -4;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.service-card:hover .service-card__image {
    transform: scale(1.035);
}

.service-card--carpet .service-card__image {
    object-position: center 56%;
}

.service-card--vinyl .service-card__image {
    object-position: center 55%;
}

.service-card--laminate .service-card__image {
    object-position: center 62%;
}

.service-card--lvt .service-card__image {
    object-position: center 58%;
}

.service-card__shade {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(180deg,
            rgba(5, 8, 5, .06) 12%,
            rgba(5, 8, 5, .22) 43%,
            rgba(5, 8, 5, .9) 100%);
    pointer-events: none;
}

.service-card__number {
    position: absolute;
    z-index: 2;
    top: 20px;
    right: 25px;
    color: rgba(255, 255, 255, .48);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .12em;
}

.service-card__content {
    position: relative;
    z-index: 2;
    align-self: flex-end;
    width: 100%;
    padding: 34px;
}

.service-card__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.service-card h3 {
    margin: 0;
    font-size: clamp(38px, 4.8vw, 58px);
    line-height: .98;
    letter-spacing: -.055em;
}

.service-card p {
    max-width: 520px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    line-height: 1.75;
}

.service-card__rooms {
    margin-top: 18px;
    color: rgba(255, 255, 255, .48);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.6;
    letter-spacing: .025em;
}

.service-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding-top: 18px;
    color: rgba(255, 255, 255, .86);
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 12px;
    font-weight: 850;
}

.service-card__link i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #071007;
    background: var(--green);
    border-radius: 50%;
    font-style: normal;
    transition: transform .25s ease;
}

.service-card:hover .service-card__link i {
    transform: rotate(45deg);
}


/* =========================================================
   FLOORING COMPARISON
   ========================================================= */

.flooring-comparison {
    background: #fff;
}

.flooring-comparison__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 52px;
    border-top: 1px solid #dfe3db;
    border-left: 1px solid #dfe3db;
}

.comparison-card {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-right: 1px solid #dfe3db;
    border-bottom: 1px solid #dfe3db;
}

.comparison-card__number {
    margin-bottom: 55px;
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
}

.comparison-card h3 {
    margin: 0;
    color: #121612;
    font-size: 32px;
    letter-spacing: -.04em;
}

.comparison-card>p {
    margin: 16px 0 28px;
    color: #656a62;
    font-size: 14px;
    line-height: 1.75;
}

.comparison-card__details {
    display: grid;
    gap: 15px;
    margin-top: auto;
}

.comparison-card__details div {
    padding-top: 14px;
    border-top: 1px solid #e4e7e0;
}

.comparison-card__details span,
.comparison-card__details strong {
    display: block;
}

.comparison-card__details span {
    margin-bottom: 4px;
    color: #969b92;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.comparison-card__details strong {
    color: #343a32;
    font-size: 12px;
    line-height: 1.5;
}

.comparison-card>a {
    display: inline-block;
    margin-top: 25px;
    color: #182015;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}

.comparison-card>a:hover {
    color: #659a16;
}


/* =========================================================
   ROOM GUIDE
   ========================================================= */

.room-guide__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 52px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-left: 1px solid rgba(255, 255, 255, .1);
}

.room-card {
    min-height: 310px;
    padding: 30px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.room-card>span {
    display: block;
    margin-bottom: 60px;
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
}

.room-card h3 {
    margin: 0;
    color: #fff;
    font-size: 26px;
    letter-spacing: -.035em;
}

.room-card p {
    margin: 14px 0 22px;
    color: rgba(255, 255, 255, .5);
    font-size: 14px;
    line-height: 1.75;
}

.room-card strong {
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   PREPARATION
   ========================================================= */

.flooring-preparation {
    background: #f5f6f2;
}

.flooring-preparation__grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: clamp(50px, 8vw, 120px);
}

.flooring-preparation__heading {
    position: sticky;
    top: 130px;
    align-self: start;
}

.flooring-preparation__heading>p {
    max-width: 520px;
    margin: 25px 0 32px;
    color: #63685f;
    font-size: 15px;
    line-height: 1.85;
}

.flooring-preparation__items {
    border-top: 1px solid #dce1d8;
}

.flooring-preparation__items article {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid #dce1d8;
}

.flooring-preparation__items article>span {
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
}

.flooring-preparation__items h3 {
    margin: 0;
    color: #181d17;
    font-size: 22px;
    letter-spacing: -.025em;
}

.flooring-preparation__items p {
    max-width: 650px;
    margin: 10px 0 0;
    color: #696e66;
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   QUOTE DETAILS
   ========================================================= */

.quote-details {
    background: #fff;
}

.quote-details__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 50px;
}

.quote-details__grid article {
    min-height: 250px;
    padding: 28px;
    background: #f5f6f2;
    border: 1px solid #e3e7df;
    border-radius: 18px;
}

.quote-details__number {
    display: block;
    margin-bottom: 50px;
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
}

.quote-details__grid h3 {
    margin: 0;
    color: #151a14;
    font-size: 22px;
    letter-spacing: -.03em;
}

.quote-details__grid p {
    margin: 11px 0 0;
    color: #6a7066;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   PROCESS
   ========================================================= */

.services-process__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-left: 1px solid rgba(255, 255, 255, .1);
}

.services-process__steps>div {
    min-height: 260px;
    padding: 28px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.services-process__steps span {
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.services-process__steps strong {
    display: block;
    margin-top: 70px;
    color: #fff;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.services-process__steps p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .48);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   HELP CHOOSING
   ========================================================= */

.services-choice {
    background: #fff;
}

.services-choice__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(50px, 8vw, 120px);
    align-items: start;
}

.services-choice__content {
    max-width: 680px;
}

.services-choice__content p {
    margin: 0 0 19px;
    color: #62685e;
    font-size: 15px;
    line-height: 1.85;
}

.services-choice__content .services-choice__lead {
    color: #171c16;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: -.02em;
}

.services-choice__content>a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    color: #161d14;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.services-choice__content>a span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #0b1109;
    background: var(--green);
    border-radius: 50%;
    transition: transform .25s ease;
}

.services-choice__content>a:hover span {
    transform: rotate(45deg);
}


/* =========================================================
   AREAS
   ========================================================= */

.services-areas {
    background: #f5f6f2;
}

.services-areas__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 48px;
}

.services-areas__grid>a {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 44px;
    gap: 20px;
    align-items: center;
    padding: 28px;
    color: inherit;
    background: #fff;
    border: 1px solid #e1e5dd;
    border-radius: 18px;
    text-decoration: none;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.services-areas__grid>a:hover {
    transform: translateY(-4px);
    border-color: rgba(146, 214, 50, .65);
    box-shadow: 0 22px 45px rgba(22, 28, 20, .08);
}

.services-areas__grid>a>span {
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
}

.services-areas__grid h3 {
    margin: 0;
    color: #161b15;
    font-size: 25px;
    letter-spacing: -.035em;
}

.services-areas__grid p {
    max-width: 470px;
    margin: 7px 0 0;
    color: #70766c;
    font-size: 13px;
    line-height: 1.65;
}

.services-areas__grid i {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #10160e;
    background: var(--green);
    border-radius: 50%;
    font-style: normal;
    transition: transform .25s ease;
}

.services-areas__grid>a:hover i {
    transform: rotate(45deg);
}


/* =========================================================
   FAQ
   ========================================================= */

.services-faq {
    background: #fff;
}

.services-faq__grid {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: clamp(50px, 8vw, 120px);
}

.services-faq__heading {
    align-self: start;
}

.services-faq__heading>p {
    max-width: 440px;
    margin: 22px 0 30px;
    color: #676d63;
    font-size: 15px;
    line-height: 1.8;
}

.services-faq__items {
    border-top: 1px solid #dfe3db;
}

.services-faq__items details {
    border-bottom: 1px solid #dfe3db;
}

.services-faq__items summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 24px 0;
    color: #171c16;
    cursor: pointer;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
}

.services-faq__items summary::-webkit-details-marker {
    display: none;
}

.services-faq__items summary span {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #121712;
    background: #f1f4ed;
    border-radius: 50%;
    font-size: 19px;
    font-weight: 400;
    transition:
        transform .25s ease,
        background .25s ease;
}

.services-faq__items details[open] summary span {
    background: var(--green);
    transform: rotate(45deg);
}

.services-faq__items details>div {
    max-width: 730px;
    padding: 0 55px 26px 0;
}

.services-faq__items details p {
    margin: 0;
    color: #686e64;
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-band__copy {
    max-width: 580px;
    margin: 16px 0 0;
    color: #656b62;
    font-size: 14px;
    line-height: 1.7;
}


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

@media (max-width: 1050px) {

    .services-showcase {
        min-height: 740px;
    }

    .services-showcase__title {
        font-size: clamp(54px, 8.5vw, 88px);
    }

    .services-showcase__tabs {
        width: min(650px, 70vw);
    }

    .flooring-comparison__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .room-guide__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quote-details__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-process__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


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

@media (max-width: 760px) {

    .services-showcase {
        min-height: 760px;
    }

    .services-showcase__inner {
        width: min(calc(100% - 30px), 1480px);
        padding-top: calc(var(--header-height) + 64px);
        padding-bottom: 190px;
    }

    .services-showcase__overlay {
        background:
            linear-gradient(180deg,
                rgba(5, 8, 5, .56) 0%,
                rgba(5, 8, 5, .48) 28%,
                rgba(5, 8, 5, .82) 72%,
                rgba(5, 8, 5, .94) 100%);
    }

    .services-showcase__title {
        font-size: clamp(48px, 13vw, 70px);
    }

    .services-showcase__copy>p {
        max-width: 580px;
        font-size: 16px;
    }

    .services-showcase__navigation {
        width: min(calc(100% - 30px), 1480px);
        bottom: 28px;
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 14px;
    }

    .services-showcase__arrows {
        align-self: flex-end;
    }

    .services-showcase__tabs {
        width: 100%;
        overflow-x: auto;
        grid-template-columns: repeat(4, minmax(110px, 1fr));
        scrollbar-width: none;
    }

    .services-showcase__tabs::-webkit-scrollbar {
        display: none;
    }

    .services-showcase__tab {
        padding: 12px 12px 9px;
    }

    .services-intro__grid,
    .flooring-preparation__grid,
    .services-choice__grid,
    .services-faq__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .flooring-preparation__heading {
        position: static;
    }

    .services-landing__grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 420px;
    }

    .flooring-comparison__grid,
    .room-guide__grid,
    .quote-details__grid,
    .services-process__steps,
    .services-areas__grid {
        grid-template-columns: 1fr;
    }

    .comparison-card {
        min-height: 0;
    }

    .comparison-card__number {
        margin-bottom: 38px;
    }

    .room-card {
        min-height: 0;
    }

    .room-card>span {
        margin-bottom: 40px;
    }

    .quote-details__grid article {
        min-height: 0;
    }

    .quote-details__number {
        margin-bottom: 38px;
    }

    .services-process__steps>div {
        min-height: 220px;
    }

    .services-process__steps strong {
        margin-top: 48px;
    }

}


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

@media (max-width: 520px) {

    .services-showcase {
        min-height: 730px;
    }

    .services-showcase__inner {
        width: calc(100% - 24px);
        padding-top: calc(var(--header-height) + 52px);
        padding-bottom: 182px;
    }

    .services-showcase__navigation {
        width: calc(100% - 24px);
        bottom: 22px;
    }

    .services-showcase__meta {
        margin-bottom: 16px;
    }

    .services-showcase__title {
        font-size: 49px;
    }

    .services-showcase__copy>p {
        margin-top: 21px;
        font-size: 15px;
        line-height: 1.7;
    }

    .services-showcase__actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 26px;
    }

    .services-showcase__actions .button {
        width: 100%;
        justify-content: center;
    }

    .services-showcase__arrow {
        width: 42px;
        height: 42px;
    }

    .services-showcase__tab strong {
        font-size: 11px;
    }

    .services-hero__actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .services-intro__points {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-card {
        min-height: 400px;
        border-radius: 20px;
    }

    .service-card__content {
        padding: 26px;
    }

    .service-card h3 {
        font-size: 42px;
    }

    .flooring-comparison__grid,
    .room-guide__grid {
        margin-top: 36px;
    }

    .comparison-card,
    .room-card {
        padding: 25px;
    }

    .flooring-preparation__items article {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 12px;
    }

    .quote-details__grid article {
        padding: 24px;
    }

    .services-process__steps>div {
        min-height: 190px;
        padding: 25px;
    }

    .services-process__steps strong {
        margin-top: 38px;
    }

    .services-areas__grid>a {
        grid-template-columns: 32px minmax(0, 1fr) 38px;
        gap: 13px;
        padding: 22px;
    }

    .services-areas__grid i {
        width: 36px;
        height: 36px;
    }

    .services-faq__items summary {
        gap: 18px;
        font-size: 15px;
    }

    .services-faq__items details>div {
        padding-right: 0;
    }

}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .services-showcase__slide,
    .services-showcase__image,
    .services-showcase__arrow,
    .services-showcase__tab,
    .service-card,
    .service-card__image,
    .service-card__link i {
        transition: none;
    }

    .services-showcase__slide.is-active .services-showcase__image {
        transform: none;
    }

}