body#index .home-slider-heading {
    max-width: 1140px;
    margin: 22px auto 18px;
    padding: 0 15px;
    text-align: center;
}

body#index .home-slider-heading h1 {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 12px;
    color: #111;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    text-transform: uppercase;
}

body#index .home-slider-heading h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 64px;
    height: 2px;
    background: #b29b57;
    transform: translateX(-50%);
}

body#index .customtext .sfr-section,
body#index .customtext .sfr-slider-wrapper {
    box-sizing: border-box;
    width: min(100%, 1680px);
    margin-right: auto;
    margin-left: auto;
}

body#index .customtext .sfr-section {
    padding: 52px 32px 20px;
}

body#index .customtext .sfr-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

body#index .customtext .sfr-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    max-width: 640px;
    margin: 0 auto;
    padding: 24px 28px;
    border: 1px solid #e8e2d7;
    background: #fff;
    box-shadow: 0 18px 45px rgba(17, 17, 17, .06);
}

body#index .customtext .sfr-google-badge {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid #e6dfd2;
    border-radius: 50%;
    background: #faf8f3;
    color: #111;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

body#index .customtext .sfr-title-area {
    min-width: 0;
    text-align: left;
}

body#index .customtext .sfr-eyebrow {
    margin-bottom: 6px;
    color: #9a8752;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .18em;
    text-transform: uppercase;
}

body#index .customtext .sfr-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    padding: 6px 12px;
    border: 1px solid #eadfbd;
    background: #fffaf0;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
}

body#index .customtext .sfr-stars {
    color: #c69a2b;
    letter-spacing: .08em;
    white-space: nowrap;
}

body#index .customtext .sfr-title-area > div:last-child {
    color: #666 !important;
    font-size: 13px !important;
    line-height: 1.4;
}

body#index .customtext .sfr-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 18px 0 58px;
}

body#index .customtext .sfr-slider-wrapper::before,
body#index .customtext .sfr-slider-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 120px;
    pointer-events: none;
}

body#index .customtext .sfr-slider-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 100%);
}

body#index .customtext .sfr-slider-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 100%);
}

body#index .customtext .sfr-track {
    display: flex;
    align-items: stretch;
    gap: 18px;
    width: max-content;
    min-width: 100%;
    animation: sf-google-reviews-scroll 95s linear infinite;
    will-change: transform;
}

body#index .customtext .sfr-slider-wrapper:hover .sfr-track {
    animation-play-state: paused;
}

body#index .customtext .sfr-card {
    display: flex;
    flex: 0 0 330px;
    flex-direction: column;
    justify-content: space-between;
    min-height: 205px;
    padding: 22px 22px 18px;
    border: 1px solid #ebe5dc;
    background: #fff;
    box-shadow: 0 10px 28px rgba(17, 17, 17, .05);
}

body#index .customtext .sfr-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

body#index .customtext .sfr-name {
    color: #111;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

body#index .customtext .sfr-verified {
    flex: 0 0 auto;
    padding: 5px 8px;
    border: 1px solid #e7dfd0;
    background: #faf8f3;
    color: #7d6a38;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body#index .customtext .sfr-rating-inline {
    margin-bottom: 13px;
    color: #555;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

body#index .customtext .sfr-text {
    margin: 0;
    color: #2b2b2b;
    font-size: 14px;
    line-height: 1.55;
}

body#index .customtext .sfr-visited {
    margin-top: 18px;
    padding-top: 13px;
    border-top: 1px solid #eee9e1;
    color: #8a8a8a;
    font-size: 12px;
    line-height: 1.2;
}

@keyframes sf-google-reviews-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 767px) {
    body#index .customtext .sfr-section {
        padding: 34px 16px 14px;
    }

    body#index .customtext .sfr-header {
        justify-content: flex-start;
        padding: 18px;
    }

    body#index .customtext .sfr-google-badge {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    body#index .customtext .sfr-slider-wrapper {
        padding-bottom: 38px;
    }

    body#index .customtext .sfr-slider-wrapper::before,
    body#index .customtext .sfr-slider-wrapper::after {
        width: 38px;
    }

    body#index .customtext .sfr-track {
        gap: 14px;
        animation-duration: 75s;
    }

    body#index .customtext .sfr-card {
        flex-basis: 282px;
        min-height: 190px;
        padding: 18px;
    }

    body#index .customtext .sfr-name {
        font-size: 14px;
    }

    body#index .customtext .sfr-text {
        font-size: 13px;
        line-height: 1.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    body#index .customtext .sfr-track {
        animation: none;
        overflow-x: auto;
        width: auto;
        padding: 0 16px 8px;
    }
}
