/* =========================================================
   BUTTERFLY: WELCOME
   ========================================================= */

.butterfly-welcome,
.butterfly-welcome * {
    box-sizing: border-box;
}

.butterfly-welcome {
    position: relative;
    padding: 42px 0 46px;
    background: #f8f5ee;
    color: #30474b;
}

.butterfly-welcome__container {
    width: calc(100% - 80px);
    max-width: 1200px;
    margin: 0 auto;
}

.butterfly-welcome__grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.2fr)
        minmax(0, 1fr);
    align-items: center;
    gap: 48px;
}

.butterfly-welcome__grid--no-portrait {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

.butterfly-welcome__portrait {
    position: relative;
    isolation: isolate;
    width: calc(100% - 30px);
    max-width: 285px;
    margin: 0 auto;
}

.butterfly-welcome__photo {
    position: relative;
    z-index: 1;
    overflow: hidden;
    aspect-ratio: 0.9;
    border-radius: 32px;
    background: #e1e8e1;
}

.butterfly-welcome__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.butterfly-welcome__leaves {
    position: absolute;
    z-index: 0;
    display: block;
    width: 100px;
    height: auto;
    pointer-events: none;
    user-select: none;
}

.butterfly-welcome__leaves--left {
    top: 18px;
    left: -57px;
    transform: rotate(-17deg);
}

.butterfly-welcome__leaves--right {
    right: -43px;
    bottom: -3px;
    width: 83px;
    transform: scaleX(-1) rotate(-15deg);
    opacity: 0.8;
}

.butterfly-welcome__ribbon {
    position: absolute;
    z-index: 2;
    bottom: 25px;
    left: -42px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    min-height: 78px;
    padding: 12px 24px;
    color: #fffdf6;
    font-family: "Dancing Script", "Segoe Script", cursive;
    font-size: 27px;
    line-height: 1.05;
    text-align: center;
    transform: rotate(-10deg);
    isolation: isolate;
}

.butterfly-welcome__ribbon::before,
.butterfly-welcome__ribbon::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.butterfly-welcome__ribbon::before {
    background: #3f8790;
    clip-path: polygon(
        5% 8%, 22% 3%, 41% 7%, 65% 1%, 94% 8%,
        91% 22%, 100% 28%, 94% 42%, 98% 59%,
        92% 71%, 95% 89%, 72% 95%, 47% 91%,
        25% 98%, 3% 90%, 8% 74%, 0% 67%,
        6% 49%, 1% 37%, 8% 24%
    );
}

.butterfly-welcome__ribbon::after {
    inset: 8px -5px;
    background: rgba(66, 139, 148, 0.35);
    transform: rotate(3deg);
    clip-path: polygon(
        0% 12%, 96% 0%, 100% 79%, 3% 100%,
        6% 74%, 0% 59%, 5% 36%
    );
}

.butterfly-welcome__copy {
    min-width: 0;
}

.butterfly-welcome__eyebrow {
    display: block;
    margin: 0 0 11px;
    color: #24464c;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 2.8px;
    text-transform: uppercase;
}

.butterfly-welcome__title {
    margin: 0 0 15px;
    color: #173b43;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3.1vw, 43px);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -1.1px;
    overflow-wrap: break-word;
}

.butterfly-welcome__text {
    color: #30474b;
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: break-word;
}

.butterfly-welcome__text p {
    margin: 0 0 12px;
}

.butterfly-welcome__text p:last-child {
    margin-bottom: 0;
}

.butterfly-welcome__signoff {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 15px;
    color: #30474b;
    font-size: 13px;
    line-height: 1.5;
}

.butterfly-welcome__signature-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 125px;
    max-height: 48px;
}

.butterfly-welcome__signature-text {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #54767b;
    font-family: "Dancing Script", "Segoe Script", cursive;
    font-size: 32px;
    line-height: 1.2;
}

.butterfly-welcome__signature-text span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
}

.butterfly-welcome__about {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    color: #366e77;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.butterfly-welcome__about:hover {
    color: #173b43;
}

.butterfly-welcome__live {
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #e7e9e2;
}

.butterfly-welcome__live-header {
    height: 92px;
    overflow: hidden;
    background: #dbe4d7;
}

.butterfly-welcome__live-header img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.butterfly-welcome__live-body {
    position: relative;
    isolation: isolate;
    min-height: 163px;
    padding: 21px 24px 25px;
    background: linear-gradient(125deg, #edf0e9, #e3e5de);
}

.butterfly-welcome__live-title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    padding-right: 22px;
    color: #173b43;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 2.1vw, 30px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.7px;
}

.butterfly-welcome__live-dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #397a69;
    box-shadow: 0 0 0 4px rgba(57, 122, 105, 0.12);
}

.butterfly-welcome__live-description {
    position: relative;
    z-index: 1;
    max-width: 225px;
    margin: 0 0 15px;
    padding-right: 18px;
    color: #30474b;
    font-size: 13px;
    line-height: 1.6;
}

.butterfly-welcome__live-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 41px;
    padding: 10px 21px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    background: #387e89;
    box-shadow: 0 0 0 1px rgba(56, 126, 137, 0.28);
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.butterfly-welcome__live-button:hover {
    background: #286570;
    color: #ffffff;
    text-decoration: none;
}

.butterfly-welcome__live-payment {
    position: relative;
    z-index: 1;
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-top: 13px;
    color: #245b65;
    font-size: 12px;
    line-height: 1.6;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.butterfly-welcome__live-payment:hover {
    color: #173b43;
}

.butterfly-welcome__live-butterfly {
    position: absolute;
    z-index: 0;
    top: 42px;
    right: 8px;
    width: 58px;
    height: auto;
    transform: rotate(13deg);
    opacity: 0.85;
    pointer-events: none;
}

.butterfly-welcome__live-leaves {
    position: absolute;
    z-index: 0;
    right: -20px;
    bottom: -44px;
    width: 75px;
    height: auto;
    transform: scaleX(-1) rotate(-24deg);
    opacity: 0.7;
    pointer-events: none;
}

.butterfly-welcome a:focus-visible {
    outline: 2px solid #387e89;
    outline-offset: 5px;
}

/* Tablet: portrait and wording above the live box. */
@media (max-width: 1050px) {
    .butterfly-welcome__container {
        width: calc(100% - 64px);
    }

    .butterfly-welcome__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
        gap: 32px 44px;
    }

    .butterfly-welcome__live {
        grid-column: 1 / -1;
    }

    .butterfly-welcome__grid--no-portrait {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .butterfly-welcome__grid--no-portrait
    .butterfly-welcome__live {
        grid-column: auto;
    }
}

/* Mobile: portrait, wording, then live box. */
@media (max-width: 650px) {
    .butterfly-welcome {
        padding: 32px 0 38px;
    }

    .butterfly-welcome__container {
        width: calc(100% - 48px);
    }

    .butterfly-welcome__grid,
    .butterfly-welcome__grid--no-portrait {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .butterfly-welcome__portrait {
        width: calc(100% - 64px);
        max-width: 260px;
    }

    .butterfly-welcome__leaves--left {
        left: -43px;
        width: 83px;
    }

    .butterfly-welcome__leaves--right {
        right: -34px;
        width: 70px;
    }

    .butterfly-welcome__ribbon {
        left: -28px;
        width: 155px;
        min-height: 70px;
        font-size: 25px;
    }

    .butterfly-welcome__title {
        max-width: 400px;
        font-size: 36px;
    }

    .butterfly-welcome__live {
        grid-column: auto;
        width: 100%;
        max-width: 430px;
        justify-self: center;
    }

    .butterfly-welcome__live-title {
        font-size: 29px;
    }

    .butterfly-welcome__live-body {
        padding: 22px 25px 25px;
    }

    .butterfly-welcome__live-butterfly {
        right: 18px;
        width: 65px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .butterfly-welcome__live-button {
        transition: none;
    }
}

/* =========================================================
   BUTTERFLY: SERVICES
   ========================================================= */

.butterfly-services,
.butterfly-services * {
    box-sizing: border-box;
}

.butterfly-services {
    min-width: 0;
    padding: 42px 0 38px;
    background: #f8f5ee;
    color: #30474b;
}

.butterfly-services__container {
    width: calc(100% - 80px);
    max-width: 1200px;
    min-width: 0;
    margin: 0 auto;
}

.butterfly-services__heading-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-bottom: 24px;
}

.butterfly-services__title {
    margin: 0;
    color: #173b43;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3.5vw, 46px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -1px;
    overflow-wrap: break-word;
}

.butterfly-services__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
    min-height: 30px;
    padding: 5px 12px;
    border: 1px solid #ccdbd7;
    border-radius: 999px;
    background: #e8eeE7;
    color: #38656b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.butterfly-services__description {
    max-width: 760px;
    margin: -10px 0 25px;
    color: #486167;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.butterfly-services__carousel {
    min-width: 0;
}

.butterfly-services__track {
    display: flex;
    align-items: stretch;
    gap: 28px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 3px 3px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 3px;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.butterfly-services__track::-webkit-scrollbar {
    display: none;
}

.butterfly-services__track.is-dragging,
.butterfly-services__track.is-dragging * {
    cursor: grabbing;
    user-select: none;
}

.butterfly-services__track.is-dragging {
    scroll-snap-type: none;
}

.butterfly-services__card {
    display: flex;
    flex: 0 0 calc((100% - 28px) / 2);
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 0;
    border-radius: 7px;
    background: #fcfaf5;
    scroll-snap-align: start;
}

.butterfly-services__image-link {
    display: block;
    flex-shrink: 0;
    color: inherit;
    text-decoration: none;
}

.butterfly-services__image {
    overflow: hidden;
    aspect-ratio: 2.15 / 1;
    background: linear-gradient(135deg, #dae5db, #b9d0cb);
}

.butterfly-services__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.butterfly-services__card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 21px;
}

.butterfly-services__name {
    margin: 0 0 9px;
    color: #173b43;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(23px, 2.3vw, 30px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.5px;
    overflow-wrap: break-word;
}

.butterfly-services__name a {
    color: inherit;
    text-decoration: none;
}

.butterfly-services__name a:hover {
    color: #387e89;
}

.butterfly-services__excerpt {
    margin: 0 0 16px;
    color: #486167;
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: break-word;
}

.butterfly-services__more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-bottom: 3px;
    border-bottom: 1px solid #89a5a6;
    color: #244b54;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
}

.butterfly-services__more:hover {
    border-color: #387e89;
    color: #387e89;
    text-decoration: none;
}

.butterfly-services__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 17px;
}

.butterfly-services__controls[hidden] {
    display: none;
}

.butterfly-services__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #c8d7d3;
    border-radius: 50%;
    background: transparent;
    color: #285b65;
    font-family: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.butterfly-services__arrow:hover {
    background: #e4ece6;
}

.butterfly-services__arrow:disabled {
    opacity: 0.4;
    cursor: default;
}

.butterfly-services__pause {
    min-height: 44px;
    padding: 8px 12px;
    border: 0;
    background: transparent;
    color: #456970;
    font-family: inherit;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}

.butterfly-services__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 26px;
    margin-top: 25px;
}

.butterfly-services__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 46px;
    padding: 12px 27px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    background: #387e89;
    box-shadow: 0 0 0 1px rgba(56, 126, 137, 0.25);
    color: #ffffff;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.butterfly-services__button:hover {
    background: #286570;
    color: #ffffff;
    text-decoration: none;
}

.butterfly-services__finder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 12px 27px;
    border: 1px solid #387e89;
    border-radius: 999px;
    background: transparent;
    color: #285b65;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
}

.butterfly-services__finder:hover {
    background: #e4ece6;
    color: #173b43;
    text-decoration: none;
}

.butterfly-services a:focus-visible,
.butterfly-services button:focus-visible,
.butterfly-services__track:focus-visible {
    outline: 2px solid #387e89;
    outline-offset: 3px;
}

@media (max-width: 1050px) {
    .butterfly-services__container {
        width: calc(100% - 64px);
    }

    .butterfly-services__track {
        gap: 22px;
    }

    .butterfly-services__card {
        flex-basis: calc((100% - 22px) / 2);
    }

    .butterfly-services__card-body {
        padding: 17px 18px 20px;
    }
}

@media (max-width: 650px) {
    .butterfly-services {
        padding: 32px 0;
    }

    .butterfly-services__container {
        width: calc(100% - 48px);
    }

    .butterfly-services__heading-row {
        gap: 12px;
        margin-bottom: 20px;
    }

    .butterfly-services__title {
        font-size: 34px;
    }

    .butterfly-services__track {
        gap: 18px;
    }

    .butterfly-services__card {
        flex-basis: 100%;
    }

    .butterfly-services__image {
        aspect-ratio: 1.7 / 1;
    }

    .butterfly-services__name {
        font-size: 27px;
    }

    .butterfly-services__actions {
        gap: 12px 22px;
        margin-top: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .butterfly-services__arrow,
    .butterfly-services__button {
        transition: none;
    }
}

/* =========================================================
   BUTTERFLY: LATEST NEWS AND UPDATES
   ========================================================= */

.butterfly-latest,
.butterfly-latest * {
    box-sizing: border-box;
}

.butterfly-latest {
    min-width: 0;
    padding: 44px 0 40px;
    background: var(--butterfly-latest-background, #f8f5ee);
    color: #30474b;
}

.butterfly-latest__container {
    width: calc(100% - 80px);
    max-width: 1200px;
    min-width: 0;
    margin: 0 auto;
}

.butterfly-latest__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.butterfly-latest__header > div {
    min-width: 0;
}

.butterfly-latest__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #38656b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.butterfly-latest__title {
    margin: 0;
    color: #173b43;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3.1vw, 42px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.8px;
    overflow-wrap: break-word;
}

.butterfly-latest__description {
    max-width: 760px;
    margin-top: 10px;
    color: #486167;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.butterfly-latest__track {
    display: flex;
    align-items: stretch;
    gap: 26px;
    width: 100%;
    min-width: 0;
    padding: 3px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 3px;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.butterfly-latest__track::-webkit-scrollbar {
    display: none;
}

.butterfly-latest__track.is-dragging,
.butterfly-latest__track.is-dragging * {
    cursor: grabbing;
    user-select: none;
}

.butterfly-latest__track.is-dragging {
    scroll-snap-type: none;
}

.butterfly-latest__card {
    display: flex;
    flex: 0 0 calc((100% - 52px) / 3);
    flex-direction: column;
    min-width: 0;
    scroll-snap-align: start;
}

.butterfly-latest__image {
    display: block;
    flex-shrink: 0;
    overflow: hidden;
    aspect-ratio: 1.9 / 1;
    border-radius: 6px;
    background: #dce6dc;
    color: inherit;
    text-decoration: none;
}

.butterfly-latest__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.butterfly-latest__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 17px 0 5px;
}

.butterfly-latest__type {
    display: block;
    margin-bottom: 8px;
    color: #365d64;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.butterfly-latest__name {
    margin: 0 0 11px;
    color: #173b43;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(23px, 2.1vw, 28px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.5px;
    overflow-wrap: break-word;
}

.butterfly-latest__name a {
    color: inherit;
    text-decoration: none;
}

.butterfly-latest__name a:hover {
    color: #387e89;
}

.butterfly-latest__notices {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: 10px;
    color: #38656b;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}

.butterfly-latest__notices i {
    margin-right: 4px;
}

.butterfly-latest__excerpt {
    margin: 0 0 15px;
    color: #486167;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.butterfly-latest__footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    width: 100%;
    margin-top: auto;
}

.butterfly-latest__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 3px;
    border-bottom: 1px solid #89a5a6;
    color: #244b54;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
}

.butterfly-latest__link:hover {
    border-color: #387e89;
    color: #387e89;
    text-decoration: none;
}

.butterfly-latest__date {
    color: #627a7d;
    font-size: 11px;
    line-height: 1.5;
}

.butterfly-latest__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.butterfly-latest__controls[hidden] {
    display: none;
}

.butterfly-latest__counter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 8px;
    color: #456970;
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
}

.butterfly-latest a:focus-visible,
.butterfly-latest button:focus-visible,
.butterfly-latest__track:focus-visible {
    outline: 2px solid #387e89;
    outline-offset: 3px;
}

@media (max-width: 1050px) {
    .butterfly-latest__container {
        width: calc(100% - 64px);
    }

    .butterfly-latest__track {
        gap: 22px;
    }

    .butterfly-latest__card {
        flex-basis: calc((100% - 22px) / 2);
    }
}

@media (max-width: 650px) {
    .butterfly-latest {
        padding: 32px 0;
    }

    .butterfly-latest__container {
        width: calc(100% - 48px);
    }

    .butterfly-latest__header {
        margin-bottom: 20px;
    }

    .butterfly-latest__title {
        font-size: 34px;
    }

    .butterfly-latest__track {
        gap: 18px;
    }

    .butterfly-latest__card {
        flex-basis: 100%;
    }

    .butterfly-latest__image {
        aspect-ratio: 1.7 / 1;
    }

    .butterfly-latest__name {
        font-size: 27px;
    }

    .butterfly-latest__controls {
        gap: 8px;
    }
}

/* Butterfly: testimonials */

.butterfly-testimonials {
    --butterfly-testimonials-background: #e3edeb;
    --butterfly-testimonials-image: none;

    padding: 64px 0;
    color: #173e49;
    background-color: var(--butterfly-testimonials-background);
    background-image: var(--butterfly-testimonials-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.butterfly-testimonials__container {
    width: calc(100% - 80px);
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
    gap: 64px;
    align-items: start;
}

.butterfly-testimonials__header,
.butterfly-testimonials__main {
    min-width: 0;
}

.butterfly-testimonials__eyebrow {
    display: block;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.5;
    text-transform: uppercase;
}

.butterfly-testimonials__title {
    margin: 0 0 24px;
    color: inherit;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 400;
    line-height: 1.15;
}

.butterfly-testimonials__view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 5px;
    color: inherit;
    border-bottom: 1px solid currentColor;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.butterfly-testimonials__view-all:hover {
    color: #287780;
}

.butterfly-testimonials__panels {
    display: grid;
    gap: 32px;
}

.butterfly-testimonials__panel {
    min-width: 0;
}

.butterfly-testimonials.is-enhanced .butterfly-testimonials__panels {
    gap: 0;
}

.butterfly-testimonials.is-enhanced .butterfly-testimonials__panel {
    grid-area: 1 / 1;
    align-self: start;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 650ms ease,
        visibility 650ms ease;
}

.butterfly-testimonials.is-enhanced .butterfly-testimonials__panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.butterfly-testimonials__person {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.butterfly-testimonials__photo {
    display: block;
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.butterfly-testimonials__name {
    margin: 0;
    color: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.butterfly-testimonials__detail {
    margin: 3px 0 0;
    color: inherit;
    font-size: 13px;
    line-height: 1.5;
}

.butterfly-testimonials__rating {
    margin-top: 6px;
    color: #876c32;
    font-size: 17px;
    letter-spacing: 0.12em;
    line-height: 1.4;
}

.butterfly-testimonials__quote {
    margin: 0;
    padding: 0;
    color: inherit;
    border: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(21px, 2.1vw, 28px);
    font-weight: 400;
    line-height: 1.5;
}

.butterfly-testimonials__quote p {
    margin: 0;
}

.butterfly-testimonials__media-links {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    margin-top: 22px;
}

.butterfly-testimonials__media-links:empty {
    display: none;
}

.butterfly-testimonials__media {
    min-width: 0;
    max-width: 100%;
}

.butterfly-testimonials__media summary,
.butterfly-testimonials__media-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 10px 16px;
    color: #173e49;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(23, 62, 73, 0.3);
    border-radius: 24px;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    list-style: none;
    transition:
        background-color 180ms ease,
        border-color 180ms ease;
}

.butterfly-testimonials__media summary::-webkit-details-marker {
    display: none;
}

.butterfly-testimonials__media summary:hover,
.butterfly-testimonials__media-link:hover {
    color: #173e49;
    background: rgba(255, 255, 255, 0.85);
    border-color: #287780;
}

.butterfly-testimonials__media[open] {
    flex-basis: 100%;
}

.butterfly-testimonials__media audio {
    display: block;
    width: 100%;
    max-width: 420px;
    margin-top: 16px;
}

.butterfly-testimonials__media video {
    display: block;
    width: 100%;
    max-width: 480px;
    max-height: 360px;
    margin-top: 16px;
    background: #102b33;
    border-radius: 8px;
}

.butterfly-testimonials__audio-note {
    max-width: 420px;
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.6;
}

.butterfly-testimonials__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.butterfly-testimonials__controls[hidden] {
    display: none;
}

.butterfly-testimonials__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    color: #173e49;
    background: transparent;
    border: 1px solid rgba(23, 62, 73, 0.3);
    border-radius: 50%;
    font-family: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition:
        background-color 180ms ease,
        border-color 180ms ease;
}

.butterfly-services__arrow > span,
.butterfly-latest__arrow > span,
.butterfly-testimonials__arrow > span {
    display: inline-block;
    transform: translateY(-2px);
}

.butterfly-testimonials__arrow:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: #287780;
}

.butterfly-testimonials__counter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: inherit;
    font-size: 13px;
    white-space: nowrap;
}

.butterfly-testimonials__pause {
    padding: 4px 0;
    color: inherit;
    background: transparent;
    border: 0;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
}

.butterfly-testimonials__pause[hidden] {
    display: none;
}

.butterfly-testimonials a:focus-visible,
.butterfly-testimonials button:focus-visible,
.butterfly-testimonials summary:focus-visible {
    outline: 2px solid #287780;
    outline-offset: 5px;
}

.butterfly-testimonials__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 991px) {
    .butterfly-testimonials__container {
        gap: 36px;
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr);
    }
}

@media (max-width: 767px) {
    .butterfly-testimonials {
        padding: 44px 0;
    }

    .butterfly-testimonials__container {
        width: calc(100% - 40px);
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .butterfly-testimonials__title {
        margin-bottom: 18px;
    }

    .butterfly-testimonials__photo {
        flex-basis: 68px;
        width: 68px;
        height: 68px;
    }

    .butterfly-testimonials__controls {
        gap: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .butterfly-testimonials *,
    .butterfly-testimonials *::before,
    .butterfly-testimonials *::after {
        transition: none !important;
    }
}

/* Butterfly: inline testimonial audio and modal video */

.butterfly-testimonials__audio-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.butterfly-testimonials__audio-row > button {
    flex: 0 1 auto;
    margin-top: 6px;
}

.butterfly-testimonials__audio-player {
    flex: 1 1 260px;
    min-width: 0;
    max-width: 360px;
}

.butterfly-testimonials__audio-player[hidden] {
    display: none;
}

.butterfly-testimonials__audio-player audio {
    display: block;
    width: 100%;
    height: 54px;
    margin: 0;
}

.butterfly-testimonials__audio-player .butterfly-testimonials__audio-note {
    margin: 7px 0 0;
    font-size: 11px;
    line-height: 1.5;
}

.butterfly-testimonials-video-modal .modal-content {
    overflow: hidden;
    background: #f8f5ee;
    border: 0;
    border-radius: 16px;
}

.butterfly-testimonials-video-modal .modal-header {
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(23, 62, 73, 0.15);
}

.butterfly-testimonials-video-modal .modal-title {
    margin: 0;
    color: #173e49;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.butterfly-testimonials-video-modal .btn-close {
    flex-shrink: 0;
}

.butterfly-testimonials-video-modal .modal-body {
    padding: 0;
    background: #102b33;
}

.butterfly-testimonials-video-modal video {
    display: block;
    width: 100%;
    max-height: 70vh;
    margin: 0 auto;
    background: #102b33;
    object-fit: contain;
}

@media (max-width: 575px) {
    .butterfly-testimonials__audio-player {
        flex-basis: 100%;
        max-width: 100%;
    }
}
.butterfly-testimonials__date {
    display: inline-block;
    margin-left: 8px;
    color: #526c70;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.butterfly-testimonials__date > span {
    margin-right: 8px;
}