/*hero*/
.hero {
    background: #3A3531;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    box-sizing: border-box;

    align-items: center;
    padding: 80px 0 16px 80px;
    overflow: hidden;
    gap: 40px;
    @media (max-width: 768px) {
        padding: 120px 0 0 16px;
        gap: unset;
        grid-template-columns: 1fr;
    }
}

.hero-left h1 {
    color: #FFF;
    font-family: Urbanist;
    font-size: 64px;
    font-style: normal;
    font-weight: 800;
    line-height: 60px;
    margin-bottom: 24px;
    @media (max-width: 768px) {
        font-size: 36px;
        line-height: 38px;
        margin-bottom: 16px
    }
}

.hero-left p {
    color: #C7C7C7;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.hero-left h2 {
    color: #FAFAFA;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 2.1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-left span {
    color: #C7C7C7;
    font-weight: 700;
}

.hero-paragraph {
    margin-bottom: 40px;
    @media (max-width: 768px) {
        margin-bottom: 32px;
    }
}

/* Scrollable cards */
.cards {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.cards::-webkit-scrollbar {
    display: none;
}

.card {
    flex: 0 0 285px;
    background: #EFEEEB;
    color: #333;
    padding: 12px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s ease;

    @media (max-width: 768px) {
        flex: 0 0 255px;

    }
}

.card.dimmed {
    opacity: 0.6;
}


.card p.date {
    color: #5C5C5C;
    align-self: stretch;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 8px;
}

.card h3 {
    color: #3A3531;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    align-self: stretch;
    line-height: normal;
    margin-bottom: 8px;

}

.card p {
    align-self: stretch;
    color: #3A3531;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/*!* Right side image *!*/
.hero-right {
    display: flex;
    justify-content: center;
    margin-right: 0;
    overflow: hidden;
    @media (max-width: 768px) {
        justify-content: flex-start;
        margin-left: -16px;
        margin-right: -16px;
    }
}

.hero-left,
.hero-right {
    min-width: 0;
    min-height: 0;
}

.hero-right {
    overflow: hidden;     ]
    margin-right: 0;
}

.hero-right img {
    display: block;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4 / 5;
    max-height: 85vh;
}
.hero-right .bleed {
    width: 100%;

}

.hero-right .bleed img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-bottom {
    grid-column: 1 / -1;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    scrollbar-width: none;
}

.hero-bottom-row::-webkit-scrollbar {
    display: none;
}


.hero-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    @media (max-width: 768px) {
        display: flex;
        overflow-x: auto;
        gap: 16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: max-content;
        justify-content: flex-start;
    }
}

.hero-logo {
    display: flex;
    max-width: 220px;
    max-height: 130px;
    padding: 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    @media (max-width: 768px) {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex: 0 0 auto;
        max-width: 100px;
        padding: 3px 6px;
    }
}

.hero-subheader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.cards-indicator {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.cards-indicator .pill {
    height: 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, .28);
    transition: background .2s;
}

.cards-indicator .pill.active {
    background: #fff;
}

.cards {
    scroll-snap-type: x proximity;
}

.card {
    scroll-snap-align: start;
}

/* Benefits Section */
.benefits {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
}

.benefits-left img {
    width: 100%;
    max-height: 800px;
    object-fit: cover;
    display: block;
    @media (max-width: 768px) {
        height: 328px;
        align-self: stretch;
        aspect-ratio: 375/328;
    }
}

.benefits-right {
    padding: 60px 80px 60px 40px;
    @media (max-width: 768px) {
    }
}

.benefits-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    flex: 1 0 0;
    @media (max-width: 768px) {
        display: flex;
        padding-bottom: 60px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 40px;
        align-self: stretch;
    }
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    @media (max-width: 768px) {

    }
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 0;
}

#benefits-icon li {
    align-items: center;
}

.benefits-list img {
    width: 33px;
    height: 33px;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    background: #FAFAFA;
}

.features-left {
    padding: 40px 60px;
}

.features-left h2 {
    margin-bottom: 24px;
}

.accordion {
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.accordion-item {
    display: flex;
    padding: 16px 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    border-bottom: 1px solid #DADADA;
}

.accordion-header {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 500;
    color: #3A3531;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.accordion-content {
    display: none;
    margin-top: 8px;
    font-size: 18px;
    color: #5C5C5C;
    height: 0;
    overflow: hidden;
    transition: height 260ms cubic-bezier(.25, .8, .25, 1);
    will-change: height;
}

.accordion-item.active .accordion-content {
    display: block;
}

.features-right img {
    width: 100%;
    max-height: 750px;
    object-fit: cover;
    display: block;
    @media (max-width: 768px) {
        max-height: 328px;
        align-self: stretch;
        aspect-ratio: 375/328;
    }
}

.section-title {
    color: #3A3531;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    @media (max-width: 768px) {
        font-size: 28px;
    }
}

.title-info {
    overflow: hidden;
    color: #14161C;
    text-overflow: ellipsis;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    align-self: stretch;
    @media (max-width: 768px) {
        font-size: 20px;
    }
}

.paragraph-info {
    overflow: hidden;
    color: #5C5C5C;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    align-self: stretch;
    text-overflow: ellipsis;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    @media (max-width: 768px) {
        font-size: 16px;
    }
}

/* How It Works */
.how-it-works {
    display: flex;
    color: white;
    flex-direction: column;
    text-align: center;
    padding: 80px;
    gap: 40px;
    justify-content: center;
    align-items: center;
    @media (max-width: 768px) {
        padding: 60px 16px;
        justify-content: center;
        align-items: flex-start;
        gap: 24px;
        align-self: stretch;
    }
}

.bg-dark {
    background: #3A3531;
}

.how-it-works-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.margin-b-24 {
    margin-bottom: 24px;
}

#padding-change {
    padding: 60px 80px 60px 40px;
}

.white-text {
    color: white;
}

.how-it-works .subtitle {
    color: #C7C7C7;
    text-align: center;
    max-width: 844px;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.logos-scroll {
    display: flex;
    max-width: 1052px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    @media (max-width: 768px) {
        gap: 16px;
        justify-content: flex-start;
        align-self: stretch;
        overflow-x: auto;
        scrollbar-width: none;
        max-width: 100%;
    }
}

.logo-description {
    color: #EBEBEB;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


.logo-item {
    display: flex;
    height: 130px;
    padding: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1 0 0;
    gap: 16px;
    aspect-ratio: 129.71/126.00;
    @media (max-width: 768px) {
        flex: 0 0 auto;

    }
}

.logo-item img {
    height: 60px;
    width: 60px;
}

/* In Practice */
.bg-white {
    background: #fff;
}

.practice-header {
    display: flex;
    max-width: 846px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.practice-subtitle {
    color: #7D7D7D;
    max-width: 628px;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    @media (max-width: 768px) {
        font-size: 18px;
    }
}

.cards-scroll {
    display: flex;
    gap: 24px;

}

#cards-scroll-center {
    align-items: center;
    justify-content: center;
    @media (max-width: 768px) {
        justify-content: unset;
    }
}

.numbers {
    align-self: center;
}

.functionality {
    align-self: stretch;
}

.cards-scroll::-webkit-scrollbar {
    display: none;
}

.stat-card {
    display: flex;
    min-width: 193px;
    max-width: 300px;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    background-color: #FAFAFA;
    align-self: stretch;
    justify-content: space-between;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: border 0.3s ease;
    @media (max-width: 768px) {
        justify-content: space-between !important;
    }
}

#stat-card-break, #stat-card-break-1 {
    max-width: 251px;
}

.stat-card:hover {
    border: 1px solid #9B907E;
}

.stat-card.active {
    background: #3A3531;
    color: #B9B9B9;
}

.stat-card.active h3 {
    color: #B9B9B9;
}

.stat-card h3 {
    color: #7D7D7D;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: left;
}

.stat-card .number {
    color: #6D6558;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.stat-card.active .number {
    color: #FFF;
}

/* Features List */
.features-list {
    background: #FAFAFA;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    @media (max-width: 768px) {
        padding: 60px 16px;
        gap: 24px;
        align-self: stretch;
    }
}

.features-list h2 {
    color: #3A3531;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    @media (max-width: 768px) {
        font-size: 28px;
    }
}

/* Tabs */
.tabs-scroll {
    display: flex;
    max-width: 1280px;
    height: 44px;
    align-items: flex-start;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    @media (max-width: 768px) {
        gap: 16px;
        align-self: stretch;
    }
}

.tabs-scroll::-webkit-scrollbar {
    display: none;
}

.tab {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #5C5C5C;
    padding: 8px 0;
    cursor: pointer;
    flex: 0 0 auto;
    position: relative;
    transition: color 0.3s;
}

.tab::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: #9B907E;
    transition: width 0.3s ease;
}

.tab:hover::after {
    width: 100%;
}

.tab.active {
    color: #6D6558;
    font-weight: 600;
}

.tab.active::after {
    width: 100%;
}

/* Scrollable cards */
.cards-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
    width: 100%;

}

.cards-scroll::-webkit-scrollbar {
    display: none;
}

.feature-card {
    display: flex;
    max-width: 420px;
    height: 250px;
    padding: 24px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border-radius: 16px;
    border: 1px solid rgba(229, 227, 219, 0.10);
    background: #FFF;
    transition: border 0.3s ease;
    @media (max-width: 768px) {
        min-width: 300px;
    }
}

.feature-card:hover {
    border: 1px solid #9B907E;
}

.feature-card h3 {
    color: #6D6558;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    align-self: stretch;
    @media (max-width: 768px) {
        font-size: 20px;
    }
}

.feature-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    align-self: stretch;
    overflow: hidden;
    color: #7D7D7D;
    text-overflow: ellipsis;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    @media (max-width: 768px) {
        display: -webkit-box;
        -webkit-line-clamp: 8;
        font-size: 16px;
    }
}

/* CTA Section */
.cta-section {
    background: #fff;
    text-align: center;
    padding: 80px 80px 0 80px;
    @media (max-width: 768px) {
        padding: 80px 16px 0 16px;
    }
}

.cta-section h2 {
    color: #3A3531;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    @media (max-width: 768px) {
        font-size: 28px;
    }
}

.cta-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    align-self: stretch;
}

.cta-subtitle {
    color: #7D7D7D;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    @media (max-width: 768px) {
        font-size: 18px;
    }
}

/* Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    @media (max-width: 768px) {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

.cta-buttons button {
    display: flex;
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 16px;
    text-align: justify;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    @media (max-width: 768px) {

    }
}

.btn-primary {
    background-color: #9B907E;
    color: #FFF;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #6D6558;
}

.btn-primary:active {
    background-color: #443A35;
}

.btn-secondary {
    background-color: #FFFFFF;
    color: #443A35;
    border: 1px solid rgba(185, 185, 185, 0.50);
    transition: background-color 0.3s ease, border 0.3s ease;
}

.btn-secondary:hover {
    background-color: white;
    border: 1px solid #9B907E;
}

.btn-secondary:active {
    background-color: #B9B9B9;
    border: 1px solid transparent;
}

/* Phone image */

@media (max-width: 768px) {
    .cta-image {
        width: 100%;
    }
}

.cta-image img {
    max-width: 485px;
    max-height: 320px;
    aspect-ratio: 44/29;
    margin-bottom: -4px;
    @media (max-width: 768px) {
        min-width: inherit;
        flex-shrink: 0;
        aspect-ratio: 333/226;
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: none;
        object-fit: cover;
    }
}

/* Responsive */


/* Responsive */
@media (max-width: 900px) {
    .benefits,
    .features {
        grid-template-columns: 1fr;
    }

    .benefits-right,
    .features-left {
        padding: 40px 16px;
    }

    .benefits-left,
    .features-right {
        order: -1;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }


}

/* --- Modal --- */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal.is-open {
    display: flex;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    transition: opacity .2s ease;
}

.modal.is-open .modal__overlay {
    opacity: 1;
}

.modal__dialog {
    position: relative;
    z-index: 1;
    width: min(860px, 94vw);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
    padding: 24px;
    transform: translateY(0);
    opacity: 0;
    transition: transform .22s ease, opacity .22s ease;
    margin: 0;
    @media (max-width: 768px) {
        margin-top: 30px;
        margin-bottom: 30px;
        padding: 16px;
        gap: 16px;
        max-height: calc(100dvh - 24px);
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
}

.modal.is-open .modal__dialog {
    opacity: 1;
}

body.modal-open {
    overflow: hidden;
    touch-action: none;
}
.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #7D7D7D;
}

.modal__title {
    color: #3A3531;
    font-family: Urbanist;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    @media (max-width: 768px) {
        font-size: 20px;
    }
}

.modal__subtitle {
    color: #7D7D7D;
    font-family: Urbanist;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 20px;
    @media (max-width: 768px) {
        font-size: 16px;
        margin-bottom: 16px;
    }
}

.modal__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field__label {
    color: #14161C;
    font-family: Urbanist;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}


.field__input {
    border: 1px solid transparent;
    display: flex;
    padding: 12px 16px;
    align-items: center;
    gap: 8px;
    font-family: Urbanist;
    align-self: stretch;
    border-radius: 16px;
    background: #FAFAFA;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    color: #C7C7C7;
    line-height: normal;
}
.field__input::placeholder,
.field__textarea::placeholder {
    color: #5E5E5E;

}
.field__input:focus {
    outline: none;
    border-color: rgba(185, 185, 185, 0.50);
    background: #fff;
}
.field__input option {
    color: #5E5E5E;
    background-color: #fff;
}
.field__input option:hover {
    background-color: #eeeeee!important;
}

.field__textarea {
    min-height: 110px;
    resize: vertical;
}

.modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

/* lock scroll when modal open */
body.modal-open {
    overflow: hidden;
}

.modal__actions button {
    display: flex;
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-color: transparent;
    transition: background-color 0.3s, color 0.3s, border 0.3s;
    border-radius: 16px;
    background: #B9B9B9;
    max-width: 112px;
    max-height: 54px;
}

.btn-text {
    color: #FFF;
    text-align: justify;
    font-family: Urbanist;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.36px;
}

.modal__divider {
    border: none;
    height: 1px;
    background: #F0F0F0;
    margin-bottom: 20px;
    @media (max-width: 768px) {
        margin-bottom: 16px;
    }
}

/* default disable */
.modal__actions button:disabled {
    background: #B9B9B9;
    color: #fff;
    cursor: not-allowed;
}

.modal__actions button {
    background: #3A3531;
    color: #FFFFFF;
    border: 1px solid transparent;
    transition: background-color 0.3s, color 0.3s;
}

.modal__actions button:not(:disabled):hover {
    color: #443A35;
    border: 1px solid rgba(185, 185, 185, 0.50);
    background: #FFF;
}

.modal__actions button:not(:disabled):active {
    background-color: #9B907E;
    color: #fff;
}
.form-dropdown {
    position: relative;
    width: 100%;
    font-family: Urbanist, sans-serif;
}

.form-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #FAFAFA;
    border: 1px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
    color: #C7C7C7;
    font-size: 16px;
}

.form-dropdown.open .form-dropdown-toggle {
    background: #fff;
    border: 1px solid rgba(185,185,185,.5);
    color: #5E5E5E;
}

.form-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
    z-index: 999;
}

.form-dropdown.open .form-dropdown-menu {
    display: block;
}

.form-dropdown-item {
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    color: #5E5E5E;
    transition: background 0.2s;
}

.form-dropdown-item:hover {
    background: #EEEEEE;
}
