:root {
    --tow-accent: #73BE2E;
}

.tow-orbit {
    --tow-accent: #73BE2E;
    --tow-bg: #526348;
    position: relative;
    width: 100%;
    min-height: auto;
    overflow: hidden;
    background: var(--tow-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    color: #111;
}
button.tow-avatar:hover{
    background-color: #73BE2E;
}
.tow-orbit-stage {
    position: relative;
    width: min(1180px, 100%);
   height: auto;
    min-height: 680px;
}

.tow-heading {
    position: absolute;
    z-index: 8;
    top: 18px;
    left: 5%;
    color: #fff;
    font-size: clamp(30px, 4vw, 58px);
    font-weight: 600;
    line-height: 1;
}





.tow-card-wrap {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 50%;
    width: min(530px, 48vw);
    transform: translate(-50%, -50%);
}

.tow-card {
    position: relative;
    min-height: 290px;
    padding: 30px 42px 34px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(0,0,0,.16);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 150px;
}

.tow-quote-mark {
    color: var(--tow-accent);
    font-family: Georgia, serif;
    font-size: 72px;
    font-weight: 700;
    line-height: .55;
    height: 46px;
    margin-bottom: 10px;
}

.tow-quote {
    max-width: 455px;
    color: #000000;
    font-size: 16px;
    line-height: 1.62;
    font-weight: 400;
    font-family: 'Poppins';
}

.tow-client {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 30px;
    text-align: left;
}

.tow-client-image {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #eee;
}

.tow-client-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.tow-client-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.tow-name {
    font-size: 16px;
    line-height: 1.2;
    color: #000;
    font-weight: 500;
     font-family: 'Poppins';
}

.tow-role {
    color: #474747;
    font-size: 14px;
    line-height: 1.25;
     font-family: 'Poppins';

}

.tow-avatars {
    position: absolute;
    inset: 0;
    z-index: 4;
}

.tow-avatar {
    position: absolute;

    width: 108px;
    height: 108px;

    padding: 8px;

    border-radius: 50%;
    border: 0;

    transform: translate(-50%, -50%);

    cursor: pointer;
}

.tow-avatar::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 7px solid rgba(255,255,255,.24);
    pointer-events: none;
}

.tow-avatar.is-active {
    background: var(--tow-accent);
    box-shadow: 0 0 0 1px rgba(255,255,255,.10), 0 0 0 8px rgba(115,190,46,.08);
}

.tow-avatar.is-active::before {
    border-color: var(--tow-accent);
}

.tow-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.tow-progress {
    position: absolute;
    z-index: 8;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.8);
    font-size: 12px;
    letter-spacing: .08em;
}

.tow-progress-line {
    width: 55px;
    height: 1px;
    background: rgba(255,255,255,.5);
}

.tow-card.tow-enter-next {
    animation: towNext .42s ease both;
}

.tow-card.tow-enter-prev {
    animation: towPrev .42s ease both;
}

@keyframes towNext {
    from { opacity: .25; transform: translateX(24px) scale(.985); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes towPrev {
    from { opacity: .25; transform: translateX(-24px) scale(.985); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

@media (max-width: 900px) {
    .tow-orbit-stage {
        min-height: 650px;
    }

    .tow-card-wrap {
        width: min(520px, 58vw);
    }

    .tow-avatar {
        /* --radius-x: min(390px, 38vw);
        --radius-y: min(280px, 29vh); */
        width: 92px;
        height: 92px;
    }
}

@media (max-width: 767px) {
    .tow-orbit {
        min-height: 100svh;
    }

    .tow-orbit-stage {
        height: 100svh;
        min-height: 650px;
    }

    .tow-heading {
        top: 22px;
        left: 20px;
        font-size: 32px;
    }

    .tow-card-wrap {
        width: calc(100% - 40px);
        top: 52%;
    }

    .tow-card {
        min-height: 275px;
        padding: 28px 22px 30px;
    }

    .tow-quote {
        font-size: 15px;
    }

    .tow-avatar {
        /* --radius-x: min(220px, 35vw);
        --radius-y: min(265px, 28vh); */
        width: 66px;
        height: 66px;
        padding: 5px;
    }

    .tow-avatar::before {
        border-width: 4px;
    }

    .tow-client {
        margin-top: 24px;
    }

    .tow-client-image {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tow-avatar,
    .tow-card {
        transition: none !important;
        animation: none !important;
    }
}
