.home-page {
    width: 100%;
}

/* Hero fills viewport minus stats strip (dynamic height of .home-about-section). */
.home-page .home-above-fold {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.home-page .home-above-fold .home-about-section {
    flex-shrink: 0;
}

.home-hero-section {
    display: flex;
    justify-content: center;
    padding: 0;
}

.home-page .home-above-fold .home-hero-section {
    flex: 1 1 0;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
}

.home-hero-container {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 0;
    height: auto;
    padding: 160px 0 96px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    background-image:
        linear-gradient(0deg, rgba(37, 38, 145, 0.25) 0%, rgba(37, 38, 145, 0.25) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%),
        linear-gradient(225deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%),
        var(--home-hero-bg-image, url("../images/hero-background.png"));
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.home-hero-inner {
    width: 100%;
    max-width: var(--content-max-width);
    align-content: center;
    padding-left: 0;
    padding-right: 0;
}

.home-hero-content {
    display: flex;
    flex-direction: column;
    width: 592px;
    height: 339px;
    gap: 20px;
}

.home-hero-title {
    width: 517px;
}

.home-hero-title h1 {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 49px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #fff;
}

@media (min-width: 1001px) {
    .home-hero-title h1 {
        font-size: 58px;
    }

    .home-hero-description p {
        font-size: 20px;
        line-height: 163%;
    }
}

.home-hero-title span {
    color: rgba(255, 255, 255, 0.55);
}

.home-hero-description {
    width: 512px;
    height: 88px;
    max-width: 512px;
}

.home-hero-description p {
    margin: 0;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 163%;
    color: rgba(255, 255, 255, 0.7);
}

.home-hero-button {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 592px;
    height: 64px;
    padding: 12px 0 0;
}

.home-hero-button-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-hero-button-item .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 143%;
    text-align: center;
}

.home-hero-button-item .btn-primary img {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
}

.home-hero-button-item .btn-primary {
    width: 200px;
    height: 52px;
    padding: 16px 24px;
    border-radius: 99px;
    background: #fff;
    color: #252691;
    gap: 8px;
}

.home-hero-primary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.home-hero-button-item .btn-secondary {
    width: 165px;
    height: 52px;
    padding: 14px 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 99px;
    color: #fff;
}

.home-about-section {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e2e2ec;
    display: flex;
    justify-content: center;
}

.home-about-container {
    width: 100%;
    max-width: var(--content-max-width);
}

.home-about-items {
    width: 100%;
    min-height: 102px;
    display: flex;
    align-items: stretch;
}

.home-about-item {
    flex: 1 1 0;
    padding: 24px 32px;
    border-right: 1px solid #e2e2ec;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.home-about-item:last-child {
    border-right: none;
}

.home-about-item-value {
    text-align: center;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 30px;
    line-height: 30px;
    color: #252691;
}

.home-about-item-description p {
    margin: 0;
    text-align: center;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #717188;
}

.home-about-description-section {
    width: 100%;
    padding: 64px 0;
    background: #f6f6fa;
    display: flex;
    justify-content: center;
}

.home-about-description-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.home-about-description-left,
.home-about-description-right {
    flex: 1 1 0;
}

.home-about-description-left img {
    width: 100%;
    height: 444px;
    object-fit: cover;
    border-radius: 14px;
    background: #eaeaf2;
    display: block;
}

.home-about-description-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-about-description-right-title h2 {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 36px;
    line-height: 45px;
    color: #151525;
}

.home-about-description-right-description {
    padding-top: 4px;
}

.home-about-description-right-description p {
    margin: 0;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #717188;
}

.home-about-description-right-items {
    padding: 12px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 16px 24px;
}

.home-about-description-right-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-about-description-right-item-value {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
    color: #252691;
}

.home-about-description-right-item-description p {
    margin: 0;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #717188;
}

.home-about-description-right-button {
    width: min(239px, 100%);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: #fff;
    border: 1px solid #e2e2ec;
    border-radius: 99px;
}

.home-about-description-right-button .btn {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #000;
}

.home-about-description-right-button img {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
    opacity: 0.78;
}

.home-catalog-section {
    width: 100%;
    padding: 64px 0;
    background: #fff;
    display: flex;
    justify-content: center;
}

.home-catalog-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.home-catalog-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.home-catalog-head-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-catalog-label {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #252691;
}

.home-catalog-head-left h2 {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 36px;
    line-height: 45px;
    color: #151525;
}

.home-catalog-all-link {
    padding-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #252691;
}

.home-catalog-all-link img {
    width: 16px;
    height: 16px;
}

.home-catalog-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-catalog-item {
    min-height: 126px;
    padding: 24px;
    border-radius: 16px;
    background: #f6f6fa;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    min-width: 0;
}

.home-catalog-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.home-catalog-item-number {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    color: #a0a0ba;
}

.home-catalog-item-top img {
    width: 16px;
    height: 16px;
    opacity: 0.65;
}

.home-catalog-item-title {
    padding-top: 10px;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #151525;
}

.home-catalog-item-description {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #717188;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .home-catalog-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .home-catalog-items {
        grid-template-columns: 1fr;
    }
}

.home-catalog-item.is-active {
    background: #252691;
}

.home-catalog-item:hover {
    background: #252691;
}

.home-catalog-item.is-active .home-catalog-item-number {
    color: rgba(255, 255, 255, 0.4);
}

.home-catalog-item:hover .home-catalog-item-number {
    color: rgba(255, 255, 255, 0.4);
}

.home-catalog-item.is-active .home-catalog-item-top img {
    opacity: 0.6;
    filter: brightness(0) invert(1);
}

.home-catalog-item:hover .home-catalog-item-top img {
    opacity: 0.6;
    filter: brightness(0) invert(1);
}

.home-catalog-item.is-active .home-catalog-item-title {
    color: #fff;
}

.home-catalog-item:hover .home-catalog-item-title {
    color: #fff;
}

.home-catalog-item.is-active .home-catalog-item-description {
    color: rgba(255, 255, 255, 0.6);
}

.home-catalog-item:hover .home-catalog-item-description {
    color: rgba(255, 255, 255, 0.6);
}

.home-services-section {
    width: 100%;
    padding: 64px 0;
    background: #f6f6fa;
    display: flex;
    justify-content: center;
}

.home-services-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.home-services-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-services-label {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #252691;
}

.home-services-head h2 {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 36px;
    line-height: 45px;
    color: #151525;
}

.home-services-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-services-item {
    min-width: 0;
    padding: 32px;
    border: 1px solid #e2e2ec;
    border-radius: 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

.home-services-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 18px;
    background: #f0f0f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-services-item-icon img {
    width: 15.84px;
    height: 15.84px;
    object-fit: contain;
}

.home-services-item-title {
    padding-top: 12px;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #151525;
}

.home-services-item-description {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 22.75px;
    color: #717188;
    overflow-wrap: anywhere;
}

.home-services-item-link {
    padding-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #252691;
}

.home-services-item-link img {
    width: 14px;
    height: 14px;
}

@media (max-width: 600px) {
    .home-services-items {
        grid-template-columns: 1fr;
    }

    .home-services-item {
        padding: 24px;
    }
}

.home-reviews-section {
    width: 100%;
    padding: 64px 0;
    background: #fff;
    display: flex;
    justify-content: center;
}

.home-reviews-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.home-reviews-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.home-reviews-head-left {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-reviews-label {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #252691;
}

.home-reviews-head-left h2 {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 36px;
    line-height: 45px;
    color: #151525;
}

.home-reviews-all-link {
    padding-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #252691;
    text-decoration: none;
}

.home-reviews-all-link img {
    width: 16px;
    height: 16px;
}

.home-reviews-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-reviews-items .reviews-card {
    height: 100%;
    box-sizing: border-box;
    border-radius: 16px;
}

.home-projects-section {
    width: 100%;
    padding: 64px 0;
    background: #17171a;
    display: flex;
    justify-content: center;
}

.home-projects-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.home-projects-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.home-projects-head-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-projects-label {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.home-projects-head-left h2 {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 36px;
    line-height: 45px;
    color: #fff;
}

.home-projects-all-link {
    padding-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.home-projects-all-link img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

.home-projects-items {
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
}

.home-projects-items .swiper-wrapper {
    display: flex;
    align-items: stretch;
    gap: 16px;
    min-width: 0;
}

.home-projects-item {
    flex: 0 0 calc((100% - 32px) / 3);
    max-width: calc((100% - 32px) / 3);
    min-width: 0;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.home-projects-item img {
    width: 100%;
    height: 192px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-projects-item-content {
    min-height: 132px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.home-projects-item-meta {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: rgba(255, 255, 255, 0.4);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.home-projects-item-title {
    padding-top: 2px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #fff;
}

.home-projects-item-description {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.5);
    overflow-wrap: anywhere;
}

.home-projects-pagination {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 18px;
}

.home-projects-pagination-bullet {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 999px;
    padding: 0;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition:
        width 0.2s ease,
        background-color 0.2s ease;
}

.home-projects-pagination-bullet.is-active {
    width: 22px;
    background: #fff;
}

@media (max-width: 900px) {
    .home-projects-items {
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        padding-bottom: 2px;
    }

    .home-projects-items .swiper-wrapper {
        width: max-content;
        min-width: 100%;
    }

    .home-projects-items::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }

    .home-projects-pagination {
        display: flex;
    }

    .home-projects-item {
        scroll-snap-align: start;
    }

    .home-projects-item {
        flex-basis: min(420px, calc((100vw - 56px) / 2));
        max-width: min(420px, calc((100vw - 56px) / 2));
    }
}

@media (max-width: 600px) {
    .home-projects-items .swiper-wrapper {
        gap: 12px;
    }

    .home-projects-item {
        flex-basis: calc(100vw - 44px);
        max-width: calc(100vw - 44px);
    }
}

.home-partners-section {
    width: 100%;
    padding: 32px 0;
    background: #f6f6fa;
    border-top: 1px solid #e2e2ec;
    border-bottom: 1px solid #e2e2ec;
    display: flex;
    justify-content: center;
}

.home-partners-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.home-partners-heading-wrap {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-partners-heading {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-align: center;
    color: #717188;
}

.home-partners-items {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.home-partners-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: home-partners-marquee 26s linear infinite;
}

.home-partners-item {
    flex: 0 0 179.53px;
    width: 179.53px;
    height: 84.87px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--second-family);
    font-size: 16px;
    font-weight: 600;
    color: #717188;
    background: #fff;
}

.home-partners-item img {
    width: 100%;
    max-width: 180px;
    height: 81px;
    object-fit: contain;
}

@keyframes home-partners-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(calc(-50% - 20px), 0, 0);
    }
}

@media (max-width: 900px) {
    .home-partners-track {
        gap: 28px;
        animation-duration: 22s;
    }

    .home-partners-item {
        flex-basis: 156px;
        width: 156px;
        height: 74px;
    }
}

@media (max-width: 600px) {
    .home-partners-track {
        gap: 20px;
        animation-duration: 18s;
    }

    .home-partners-item {
        flex-basis: 132px;
        width: 132px;
        height: 64px;
    }
}

@media (max-width: 480px) {
    .home-partners-track {
        gap: 16px;
        animation-duration: 16s;
    }

    .home-partners-item {
        flex-basis: 118px;
        width: 118px;
        height: 58px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-partners-track {
        animation: none;
    }
}

@media (max-width: 1280px) {
    .home-partners-section {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .home-partners-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 600px) {
    .home-partners-section {
        padding-top: 24px;
        padding-bottom: 24px;
    }
}

.home-consult-section {
    width: 100%;
    padding: 64px 0;
    border-top: 1px solid #e2e2ec;
    background-image:
        linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.75) 100%),
        var(--home-consult-bg-image, url("../images/hero-background.png"));
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
}

.home-consult-container {
    width: 100%;
    max-width: 768px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.home-consult-container h2 {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 36px;
    line-height: 45px;
    color: #fff;
}

.home-consult-container p {
    margin: 0;
    max-width: 576px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.75);
}

.home-consult-buttons {
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.home-consult-button {
    padding: 14px 24px;
    border-radius: 99px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
}

.home-consult-button-primary {
    background: #ff191e;
}

.home-consult-button-secondary {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(226, 226, 236, 0.25);
    backdrop-filter: blur(6px);
}

/* Global responsive overrides for remaining home sections */
.home-hero-inner,
.home-about-container,
.home-about-description-container,
.home-catalog-container,
.home-services-container,
.home-reviews-container,
.home-projects-container,
.home-partners-container {
    box-sizing: border-box;
}

.home-hero-content,
.home-hero-title,
.home-hero-description,
.home-hero-button {
    width: 100%;
    max-width: 592px;
}

.home-hero-title h1,
.home-about-description-right-title h2,
.home-catalog-head-left h2,
.home-services-head h2,
.home-reviews-head-left h2,
.home-projects-head-left h2,
.home-partners-heading,
.home-consult-container h2 {
    overflow-wrap: anywhere;
}

@media (max-width: 1270px) {
    .home-hero-inner {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 1200px) {
    .home-hero-container {
        padding-top: 148px;
        padding-bottom: 88px;
    }

    .home-about-description-container {
        gap: 32px;
    }
}

@media (max-width: 1000px) {
    .home-about-container,
    .home-about-description-container,
    .home-catalog-container,
    .home-services-container,
    .home-reviews-container,
    .home-projects-container,
    .home-partners-container,
    .home-consult-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .home-hero-content {
        max-width: 560px;
    }

    .home-about-items {
        flex-wrap: wrap;
    }

    .home-about-item {
        flex: 1 1 50%;
        min-width: 0;
        border-right: none;
        border-bottom: 1px solid #e2e2ec;
    }

    .home-about-item:nth-last-child(-n + 2) {
        border-bottom: none;
    }

    .home-about-description-left img {
        height: 360px;
    }
}

@media (max-width: 900px) {
    /* About-description: stack starts at 900px (not earlier) */
    .home-about-description-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-about-description-left img {
        height: 340px;
    }

    .home-about-description-right {
        gap: 10px;
    }

    .home-about-description-right-description p {
        font-size: 15px;
        line-height: 24px;
    }

    .home-about-description-right-items {
        gap: 14px 18px;
    }

    .home-hero-container {
        padding-top: 136px;
        padding-bottom: 72px;
    }

    .home-hero-title h1 {
        font-size: 42px;
        line-height: 1.08;
    }

    .home-hero-description p {
        font-size: 16px;
        line-height: 1.55;
    }

    .home-hero-button {
        flex-wrap: wrap;
        height: auto;
        padding-top: 4px;
    }

    .home-about-description-section,
    .home-catalog-section,
    .home-services-section,
    .home-reviews-section,
    .home-projects-section,
    .home-partners-section,
    .home-consult-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .home-catalog-head,
    .home-reviews-head,
    .home-projects-head {
        align-items: flex-start;
        gap: 12px;
        flex-wrap: wrap;
    }

    .home-reviews-container {
        gap: 28px;
    }

    .home-reviews-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .home-about-container,
    .home-about-description-container,
    .home-catalog-container,
    .home-services-container,
    .home-reviews-container,
    .home-projects-container,
    .home-partners-container,
    .home-consult-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-about-item {
        flex-basis: 50%;
    }

    .home-about-item:nth-last-child(-n + 2) {
        border-bottom: 1px solid #e2e2ec;
    }

    .home-about-item:last-child {
        border-bottom: none;
    }

    .home-about-description-left img {
        height: 300px;
    }

    .home-about-description-right-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-consult-buttons {
        width: 100%;
        flex-direction: column;
    }

    .home-consult-button {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .home-hero-container {
        padding-top: 124px;
        padding-bottom: 56px;
    }

    .home-hero-title h1 {
        font-size: 34px;
        text-align: center;
    }

    .home-hero-description p {
        font-size: 15px;
        line-height: 1.5;
        text-align: center;
    }

    .home-hero-button-item .btn-primary,
    .home-hero-button-item .btn-secondary {
        width: 100%;
    }

    .home-hero-button-item {
        width: 100%;
    }

    .home-about-description-right-title h2,
    .home-catalog-head-left h2,
    .home-projects-head-left h2,
    .home-partners-container h2,
    .home-consult-container h2 {
        font-size: 30px;
            line-height: 1.2;
        text-align: center;
    }

    .home-services-head h2,
    .home-reviews-head-left h2 {
        font-size: 30px;
            line-height: 1.2;
    }

    .home-reviews-items {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .home-about-container,
    .home-about-description-container,
    .home-catalog-container,
    .home-services-container,
    .home-reviews-container,
    .home-projects-container,
    .home-partners-container,
    .home-consult-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .home-about-description-section,
    .home-catalog-section,
    .home-services-section,
    .home-reviews-section,
    .home-projects-section,
    .home-partners-section,
    .home-consult-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .home-reviews-container {
        gap: 24px;
    }

    .home-hero-title h1 {
        font-size: 30px;
    }

    .home-about-description-left img {
        height: 240px;
    }

    .home-projects-item-content {
        padding: 16px;
    }

    .home-projects-item img {
        height: 168px;
    }

    .home-projects-item-meta,
    .home-projects-item-title,
    .home-projects-item-description {
        line-height: 1.4;
    }
}