.acmr-home-gallery .desc,
.acmr-home-reviews .desc {
    max-width: 560px;
    margin: 10px auto 0;
    color: #6b6b80;
}

.acmr-home-gallery-grid {
    display: grid;
    gap: 12px;
}

.acmr-home-gallery-grid--1 .acmr-home-gallery-item {
    height: min(460px, 56vw);
}

.acmr-home-gallery-grid--2 {
    grid-template-columns: 1.2fr 1fr;
}

.acmr-home-gallery-grid--2 .acmr-home-gallery-item {
    height: 340px;
}

.acmr-home-gallery-grid--3,
.acmr-home-gallery-grid--4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.acmr-home-gallery-grid--3 .is-featured,
.acmr-home-gallery-grid--4 .is-featured {
    grid-column: 1 / -1;
    height: min(430px, 50vw);
}

.acmr-home-gallery-grid--3 .acmr-home-gallery-item:not(.is-featured),
.acmr-home-gallery-grid--4 .acmr-home-gallery-item:not(.is-featured) {
    height: 190px;
}

.acmr-home-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    background: #e6e8f0;
    box-shadow: 0 12px 32px rgba(22, 20, 57, 0.08);
}

.acmr-home-gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.acmr-home-gallery-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, transparent 45%, rgba(22, 20, 57, 0.38) 100%);
    color: #fff;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.acmr-home-gallery-item:hover img {
    transform: scale(1.05);
}

.acmr-home-gallery-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.acmr-review-feature .acmr-review-avatar.is-initials {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.acmr-home-reviews {
    background: linear-gradient(180deg, #f6f7fb 0%, #ffffff 100%);
}

.acmr-review-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
    gap: 32px;
    align-items: center;
    background: #161439;
    color: #fff;
    border-radius: 28px;
    padding: 42px 44px;
    margin-bottom: 22px;
    box-shadow: 0 18px 40px rgba(22, 20, 57, 0.16);
}

.acmr-review-feature p {
    margin: 16px 0 0;
    font-size: 22px;
    line-height: 1.55;
    font-weight: 500;
    color: #fff;
}

.acmr-review-stars {
    color: #f5c451;
    display: flex;
    gap: 4px;
    font-size: 13px;
}

.acmr-review-person {
    display: flex;
    align-items: center;
    gap: 14px;
}

.acmr-review-person strong {
    display: block;
    font-size: 16px;
    color: inherit;
}

.acmr-review-person span {
    display: block;
    font-size: 13px;
    opacity: 0.72;
    margin-top: 2px;
}

.acmr-review-feature .acmr-review-person strong,
.acmr-review-feature .acmr-review-person span {
    color: #fff;
}

.acmr-review-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #dfe3ee;
}

.acmr-review-avatar.is-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #5751e1;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.acmr-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.acmr-review-card {
    background: #fff;
    border: 1px solid #ececf4;
    border-radius: 22px;
    padding: 28px 26px 24px;
    box-shadow: 0 10px 28px rgba(22, 20, 57, 0.05);
    display: flex;
    flex-direction: column;
}

.acmr-review-card p {
    margin: 14px 0 22px;
    color: #3d3d4e;
    font-size: 15.5px;
    line-height: 1.7;
    flex: 1;
}

.acmr-review-card .acmr-review-person strong {
    color: #161439;
}

.acmr-review-card .acmr-review-person span {
    color: #6b6b80;
    opacity: 1;
}

@media (max-width: 991px) {
    .acmr-review-feature {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .acmr-review-feature p {
        font-size: 18px;
    }

    .acmr-review-grid {
        grid-template-columns: 1fr;
    }

    .acmr-home-gallery-grid--2,
    .acmr-home-gallery-grid--3,
    .acmr-home-gallery-grid--4 {
        grid-template-columns: 1fr 1fr;
    }

    .acmr-home-gallery-grid--3 .is-featured,
    .acmr-home-gallery-grid--4 .is-featured {
        grid-column: 1 / -1;
        height: 240px;
    }
}

@media (max-width: 575px) {
    .acmr-home-gallery-grid--2,
    .acmr-home-gallery-grid--3,
    .acmr-home-gallery-grid--4 {
        grid-template-columns: 1fr;
    }

    .acmr-home-gallery-item,
    .acmr-home-gallery-grid--4 .is-featured {
        height: 220px;
    }
}

.features__area-two .features__item-wrap .row {
    align-items: stretch;
}

.features__area-two .features__item-wrap .row > [class*="col-"] {
    display: flex;
}

.features__area-two .features__item-two {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.features__area-two .features__content-two {
    flex: 1 1 auto;
}

.acmr-fact-area {
    padding: 40px 0 100px;
}

.acmr-fact {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.2fr);
    gap: 36px 48px;
    align-items: center;
    background: #161439;
    border-radius: 28px;
    padding: 52px 48px;
    overflow: hidden;
    position: relative;
}

.acmr-fact::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -80px;
    top: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(87, 81, 225, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.acmr-fact-copy {
    position: relative;
    z-index: 1;
}

.acmr-fact-copy span {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b8b6ff;
    margin-bottom: 12px;
}

.acmr-fact-copy .title {
    color: #fff;
    font-size: 34px;
    line-height: 1.25;
    margin: 0 0 12px;
}

.acmr-fact-copy .title .highlight {
    display: inline-block;
    background: #c6f141;
    color: #161439;
    padding: 2px 10px;
    border-radius: 8px;
    transform: none;
}

.acmr-fact-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15.5px;
    line-height: 1.7;
    max-width: 420px;
}

.acmr-fact-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    position: relative;
    z-index: 1;
}

.acmr-fact-stat {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 26px 16px 22px;
    text-align: center;
    min-height: 148px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.acmr-fact-stat .count {
    margin: 0 0 8px;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.acmr-fact-stat p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

@media (max-width: 991px) {
    .acmr-fact {
        grid-template-columns: 1fr;
        padding: 36px 28px;
        text-align: center;
    }

    .acmr-fact-copy p {
        margin: 0 auto;
    }

    .acmr-fact-copy .title {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .acmr-fact-stats {
        grid-template-columns: 1fr;
    }

    .acmr-fact-stat {
        min-height: 120px;
    }
}
