section.box--grid-component {
    padding: 80px 0px;
    /* background: #f6f6f6; */
}

/* IMPORTANT: prevents Bootstrap's default row behavior from stretching
   all 3 columns to match the tallest one when this card grows */
.outer--box-accordion {
    display: flex;
    background: #fff;
    padding: 50px !important;
    border-radius: 16px;
}
.grid--box-hover-manual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    min-height: 350px;
    height: auto;
    padding: 25px 35px;
    background: var(--text-color);
    border-radius: 16px;
    transition: min-height 0.75s ease;
}
.grid--box-hover {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    min-height: 250px;
    height: auto;
    padding: 25px 35px;
    background: var(--text-color);
    border-radius: 16px;
    transition: min-height 0.75s ease;
}

.grid--box-title {
    position: relative;
    z-index: 2;
    order: 1;
}

.grid--box-hover h3 {
    color: var(--base-color);
    font-weight: 400;
    font-size: 26px;
    line-height: 1.25;
}

.grid--box-content {
    order: 2;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.75s ease, opacity 0.35s ease, visibility 0.45s ease, margin-top 0.45s ease;
    margin-top: 0;
    pointer-events: none;
}

.grid--box-content p {
    color: rgba(255, 255, 255, 1);
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
}

.grid--box-hover-manual:hover .grid--box-content,
.grid--box-hover:hover .grid--box-content {
    max-height: 300px;
    opacity: 1;
    visibility: visible;
    margin-top: 20px;
    pointer-events: auto;
}

.grid--box-image {
    position: absolute;
    top: 15px;
    right: 15px;
}

.grid--box-title h4 {
    font-weight: 400;
    font-size: 24px;
    color: #fff;
    line-height: 30px;
}

section.box--grid-component.grey-section {
    background: rgba(246, 246, 246, 1);
}
section.box--grid-component.layout_3 {
    background: #f6f6f6;
}

section.box--grid-component.grey-section .grid--box-hover {
    background: #fff;
}

section.box--grid-component.grey-section .grid--box-content p {
    /* color: #000; */
}

.right--side--box-title h3 {
    color: var(--primary-color);
    font-size: 48px;
    font-weight: 400;
    line-height: 56px; /* 116.667% */
}

.right--side--box-content p {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 400;
    line-height: 25px; /* 138.889% */
    letter-spacing: 0.045px;
}

.right--side--box-title {margin-bottom: 15px;}

.right--side-counterbox {
    margin-bottom: 32px;
    border-bottom: 1px solid #ECECEC;
    padding-bottom: 32px;
}

section.box--grid-component.grey-section .grid--box-title h3 {
    color: var(--primary-color);
}

/* Accordion */
.left--box-outer {
    display: grid;
    height: 100%;
}

.left--wrap p {
    font-size: 14px;
    line-height: 20px;
    color: var(--text-color);
}

.left--wrap {
    display: flex;
    gap: 20px;
}

.left--wrap h4 {
    font-size: 24px;
    font-weight: 600;
}

.left--wrap h4 span {
    color: var(--primary-color);
}

.rs-accordion {
    border-top: 1px solid #e8e8e8;
}

.rs-accordion__item {
    border-bottom: 1px solid #e8e8e8;
}

.rs-accordion__header {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    column-gap: 24px;
    padding: 22px 4px;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.rs-accordion__num {
    grid-column: 1;
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--primary-color, #22b573);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.rs-accordion__title {
    grid-column: 1;
    display: block;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    color: #1a1a1a;
    transition: color .2s ease;
    font-family: var(--font-body);
}

.rs-accordion__icon {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: var(--primary-color, #22b573);
    transition: transform .3s ease;
}

/* diagonal ↗ swings to horizontal → when open */
.rs-accordion__item.is-open .rs-accordion__icon {
    transform: rotate(45deg);
}

.rs-accordion__header:hover .rs-accordion__title {
    color: var(--primary-color, #22b573);
}

/* smooth auto-height via grid-rows trick */
.rs-accordion__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}

.rs-accordion__item.is-open .rs-accordion__panel {
    grid-template-rows: 1fr;
    /* margin-bottom: 20px; */
}

.rs-accordion__content {
    overflow: hidden;
}

.rs-accordion__content p {
    margin: 0;
    padding: 0 4px 24px;
    max-width: 90%;
    font-size: 18px;
    line-height: 1.6;
    color: #5d5d5c;
}

.rs-accordion__content ul li {
    font-size: 18px;
    color: rgba(6,45,31,1);
    line-height: 100%;
    margin-bottom: 15px;
    list-style: disc;
}

.rs-accordion__content ul {
    margin-bottom: 30px;
    padding-left: 30px;
}

.rs-accordion__content ul li::marker {
    color: var(--primary-color);
}

/*  */
.results-card {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #ececec;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.results-card__left {
    flex: 1 1 40%;
    min-width: 300px;
    padding: 44px 40px;
}

.results-card__right {
    flex: 1 1 55%;
    min-width: 300px;
    padding: 44px 60px;
    background: #F4F8F5;
}

.results-card__eyebrow {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--primary-color, #22b573);
}

.results-card__title {
    margin: 0 0 18px;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.25;
    color: #1a1a1a;
}

.results-card__content {
    font-size: 18px;
    line-height: 1.65;
    color: #5d5d5c;
}

.results-card__label {
    margin: 0 0 22px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary-color, #22b573);
}

.results-card__list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.results-card__item {
    padding: 4px 0 4px 16px;
    margin-bottom: 20px;
    border-left: 2px solid var(--primary-color, #22b573);
    font-size: 20px;
    line-height: 1.5;
    color: #374151;
}

.results-card__item:last-child {
    margin-bottom: 0;
}

.results-card__cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.results-card__cta .btn svg {
    flex-shrink: 0;
}

.bottom--cta-wrp {
    margin-top: 60px;
    border-top: 1px solid #ddd;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom--cta-wrp h4 {
    color: var(--Agate, #062D1F);
    font-size: 24px;
    font-weight: 500;
    line-height: 30px; /* 125% */
}

.grid--box-content ul li {
    font-size: 18px;
    color: #fff;
    list-style: disc;
    line-height: 28px;
}

.grid--box-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}
/*  */
section.box--grid-component.without--bg .outer--box-accordion {
    padding: 0 !important;
}

section.box--grid-component.without--bg {
    background: transparent;
}

/*  */
section.box--grid-component.bx--sm-bx.layout_1 .grid--box-hover-manual {
    min-height: 260px;
    margin-bottom: 20px;
}

/* Offering */
/* Offering — layout_5
   Replaces the whole existing Offering block.

   Numeral slot 100px at rest, image 180px on hover. The extra 80px is
   pre-reserved as bottom padding, so on hover the top grows by 80 and
   the bottom reserve shrinks by 80 — the card's total height never
   changes, nothing overlaps, and no other card moves. */

section.box--grid-component.bg-grey.layout_5 {
    background: #F6F6F6;
}

section.box--grid-component.layout_5 {
    background: #fff;
}

.offerings--row {
    --bs-gutter-x: 14px;
    --bs-gutter-y: 14px;
    align-items: stretch;       /* all cards the same height */
    margin-top: 40px;
}

/* Card */
.offering {
    --offering-slot: 100px;         /* numeral zone at rest */
    --offering-slot-hover: 180px;   /* image height on hover */
    --offering-media: 180px;        /* featured card image, always visible */
    --offering-pad-x: 18px;
    --offering-pad-t: 26px;
    --offering-pad-b: 24px;
    --offering-grow: calc(var(--offering-slot-hover) - var(--offering-slot));
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* bottom padding carries the space the image will need on hover */
    padding: var(--offering-pad-t) var(--offering-pad-x);
    background: #fff;
    border: 1px solid #f2f2f2;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(6, 45, 31, .03), 0 10px 26px -14px rgba(6, 45, 31, .10);
    transition:
        padding-bottom .38s cubic-bezier(.2, .7, .3, 1),
        transform .22s cubic-bezier(.2, .7, .3, 1),
        box-shadow .22s ease,
        border-color .22s ease;
}

.offering:hover {
    text-decoration: none;
}

/* on hover the reserve is spent by the growing image */
.offering:hover,
.offering:focus-visible {
    padding-bottom: var(--offering-pad-b);
    transform: translateY(-6px);
    border-color: #e6ede9;
    box-shadow: 0 4px 8px rgba(6, 45, 31, .05), 0 22px 40px -18px rgba(6, 45, 31, .24);
}

.offering:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

/* featured card never grows, so it needs no reserve */
.offering--media,
.offering--media:hover,
.offering--media:focus-visible {
    padding-bottom: var(--offering-pad-b);
}

.offering--media {
    box-shadow: 0 2px 4px rgba(6, 45, 31, .04), 0 16px 36px -16px rgba(6, 45, 31, .16);
}

/* Ghost numeral — grows with the image, pushing content down */
.offering--num {
    position: relative;
    z-index: 2;
    display: block;
    height: var(--offering-slot);
    margin: 0 0 20px;
    font-size: 50px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.02em;
    color: #dddddd;
    transition: height .38s cubic-bezier(.2, .7, .3, 1), color .2s ease, text-shadow .2s ease;
}

.offering:hover .offering--num,
.offering:focus-visible .offering--num {
    height: var(--offering-slot-hover);
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .55);
}

/* safety net — the media card must never show a numeral */
.offering--media .offering--num {
    display: none;
}

/* Hover reveal — tracks the numeral slot exactly */
.offering--reveal {
    position: absolute;
    z-index: 1;
    top: var(--offering-pad-t);
    left: var(--offering-pad-x);
    right: var(--offering-pad-x);
    height: var(--offering-slot);
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: height .38s cubic-bezier(.2, .7, .3, 1), opacity .24s ease;
}

.offering--reveal img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offering:hover .offering--reveal,
.offering:focus-visible .offering--reveal {
    height: var(--offering-slot-hover);
    opacity: 1;
}

/* Media variant — image always visible, fixed height */
.offering--media-img {
    height: var(--offering-media);
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.offering--media-img img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .48s cubic-bezier(.2, .7, .3, 1);
}

.offering:hover .offering--media-img img,
.offering:focus-visible .offering--media-img img {
    transform: scale(1.05);
}

/* Icon chip — works with inline <svg> or an uploaded <img> */
.offering--icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    align-self: flex-start;
    /* width: 32px; */
    /* height: 32px; */
    margin-bottom: 12px;
    border-radius: 50%;
    background: #f4f6f5;
    color: var(--primary-color);
}

.offering--icon svg,
.offering--icon img {
    display: block;
    /* width: 16px; */
    /* height: 16px; */
    object-fit: contain;
}

/* Text */
.offering--name {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    color: var(--text-color);
}

.offering--desc,
.offering--desc p {
    margin: 0;
    font-size: 15px;
    line-height: 19px;
    color: #5d5d5c;
}

.offering--desc ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.offering--desc ul li {
    font-size: 15px;
    line-height: 19px;
    color: #5d5d5c;
    list-style: disc;
}

.offering--desc ul li::marker {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 991.98px) {
    .offerings--row {
        --bs-gutter-x: 16px;
        --bs-gutter-y: 16px;
        margin-top: 32px;
    }
    .offering {
        --offering-slot-hover: 160px;
        --offering-media: 160px;
    }
}

@media (max-width: 575.98px) {
    .offering {
        --offering-slot: 90px;
        --offering-slot-hover: 140px;
        --offering-media: 140px;
    }
    .offering--num {
        font-size: 44px;
    }
}

/* no hover on touch — no reveal, so no reserve either */
@media (hover: none) {
    .offering--reveal {
        display: none;
    }
    .offering {
        padding-bottom: var(--offering-pad-b);
    }
}

@media (prefers-reduced-motion: reduce) {
    .offering,
    .offering--num,
    .offering--reveal,
    .offering--media-img img {
        transition: none;
    }
    .offering:hover,
    .offering:focus-visible {
        transform: none;
    }
    .offering:hover .offering--media-img img,
    .offering:focus-visible .offering--media-img img {
        transform: none;
    }
}


@media (max-width: 767px) {
    .results-card__left,
    .results-card__right {
        flex: 1 1 100%;
        padding: 32px 24px;
    }
    .results-card__content {
        max-width: 100%;
    }
}

@media(max-width:768px){
    .outer--box-accordion{
        display:unset;
        padding: 20px !important;
    }
    .grid--box-hover{
        margin-bottom: 20px;
        min-height: auto;
    }
}


@media(max-width: 1024px){
    .grid--box-hover h3 {
        font-size: 18px;
    }

    .grid--box-content p {
        font-size: 14px;
        line-height: normal;
    }

    .grid--box-title h4 {
        font-size: 20px;
        line-height: normal;
    }
}