.almas-home {
    color: #122d4b;
    font-weight: 400;
}

.almas-hero {
    background-color: #f7fbff;
    background-image: linear-gradient(90deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.9) 44%, rgba(230, 242, 252, 0.68) 100%), var(--almas-home-background, none);
    background-position: center;
    background-size: cover;
    padding: 54px 0 24px;
    position: relative;
}

.almas-hero::after {
    background: radial-gradient(circle, rgba(78, 151, 212, 0.13) 0%, rgba(78, 151, 212, 0) 70%);
    content: '';
    height: 700px;
    pointer-events: none;
    position: absolute;
    right: -150px;
    top: -160px;
    width: 700px;
}

.almas-hero__container {
    display: grid;
    grid-template-columns: minmax(0, 60%) minmax(0, 40%);
    position: relative;
    z-index: 1;
}

.almas-hero__content {
    padding-right: 34px;
}

.almas-hero__kicker {
    align-items: center;
    color: #60758c;
    display: flex;
    font-size: 14px;
    font-weight: 700;
    gap: 18px;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.almas-hero__kicker span {
    background: #ffb21a;
    display: block;
    height: 2px;
    width: 38px;
}

.almas-hero__title {
    color: #0d1d33;
    font-size: 55px;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.04;
    margin: 0 0 22px;
}

.almas-hero__title span {
    color: #1464a8;
    display: block;
}

.almas-hero__description {
    color: #53677d;
    font-size: 17px;
    line-height: 1.55;
    margin-bottom: 24px;
    max-width: 720px;
}

.almas-hero__description p {
    margin: 0;
}

.almas-search-wrap {
    position: relative;
    z-index: 10;
}

.almas-search {
    align-items: stretch;
    background: #fff;
    border: 1px solid #bad0e3;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(22, 74, 119, 0.08);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 155px 155px;
    min-height: 64px;
    overflow: hidden;
}

.almas-search__query {
    align-items: center;
    display: flex;
    gap: 14px;
    min-width: 0;
    padding: 0 20px;
}

.almas-search__query > img {
    height: 28px;
    object-fit: contain;
    width: 28px;
}

.almas-search input,
.almas-search select {
    background: #fff;
    border: 0;
    color: #334c65;
    min-width: 0;
    outline: none;
}

.almas-search input {
    height: 100%;
    width: 100%;
}

.almas-search select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235a7b50' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 18px center;
    background-repeat: no-repeat;
    background-size: 12px 8px;
    border-left: 1px solid #dbe6ef;
    padding: 0 38px 0 20px;
}

.almas-search button {
    background: #1464a8;
    border: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.almas-search button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.almas-search-results {
    left: 0;
    margin-top: 8px;
    position: absolute;
    top: 100%;
    width: 100%;
    z-index: 20;
}

.almas-search-results__grid {
    background: #fff;
    border: 1px solid #dbe6ef;
    border-radius: 8px;
    box-shadow: 0 14px 35px rgba(17, 59, 96, 0.14);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
}

.almas-search-result {
    align-items: center;
    border-bottom: 1px solid #edf2f6;
    color: #153757;
    display: flex;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    text-decoration: none;
}

.almas-search-result:nth-child(odd) {
    border-right: 1px solid #edf2f6;
}

.almas-search-result__image {
    border-radius: 5px;
    height: 54px;
    object-fit: cover;
    width: 62px;
}

.almas-search-result__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.almas-search-result__content strong {
    font-size: 14px;
    line-height: 1.25;
}

.almas-search-result__content small {
    color: #7c8da0;
    margin-top: 4px;
}

.almas-search-result > i {
    color: #1464a8;
}

.almas-search-results__message {
    background: #fff;
    border-radius: 6px;
    color: #53677d;
    margin: 0;
    padding: 12px 16px;
}

.almas-search-results__message--error {
    color: #a62b2b;
}

.almas-hero__actions {
    display: flex;
    gap: 14px;
    margin-top: 22px;
}

.almas-button {
    align-items: center;
    border: 1px solid #1464a8;
    border-radius: 7px;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 12px;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.almas-button:hover {
    box-shadow: 0 8px 18px rgba(14, 63, 105, 0.15);
    transform: translateY(-2px);
}

.almas-button > img {
    height: 25px;
    object-fit: contain;
    width: 25px;
}

a.almas-button.almas-button--primary img {
    filter: brightness(0.3);
}

.almas-button--primary {
    background: #ffb21a;
    border-color: #ffb21a;
    color: #102e50;
}

.almas-button--secondary {
    background: #fff;
    color: #1464a8;
}

.almas-hero__visual {
    align-self: stretch;
    position: relative;
}

.almas-hero__equipment {
    height: auto;
    max-width: none;
    position: absolute;
    width: 440px;
    z-index: 1;
}

.almas-process {
    display: grid;
    gap: 10px;
    position: absolute;
    right: -22px;
    top: 0px;
    z-index: 2;
}

.almas-process__item {
    align-items: center;
    color: #173d64;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    gap: 12px;
    text-transform: uppercase;
    /*background: rgba(255, 255, 255, 0.90);*/
    border-radius: 12px;
    bottom: 4px;
    box-shadow: 0 14px 35px rgba(30, 81, 124, 0.12);
    padding: 5px;
}

.almas-process__icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(30, 81, 124, 0.1);
    display: flex;
    height: 52px;
    justify-content: center;
    padding: 11px;
    width: 52px;
}

.almas-process__icon img {
    height: 30px;
    object-fit: contain;
    width: 30px;
}

.almas-efficiency {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 12px;
    bottom: 0px;
    box-shadow: 0 14px 35px rgba(30, 81, 124, 0.12);
    padding: 18px;
    position: absolute;
    right: -20px;
    width: 190px;
    z-index: 3;
}

.almas-efficiency img {
    height: 42px;
    object-fit: contain;
    width: 42px;
}

.almas-efficiency p {
    color: #435b72;
    font-size: 13px;
    line-height: 1.35;
    margin: 8px 0 0;
}

.almas-efficiency p::after {
    background: #ffb21a;
    content: "";
    display: block;
    height: 2px;
    margin-top: 12px;
    width: 38px;
}

.almas-hero__benefits {
    grid-column: 1 / -1;
    margin-top: 22px;
}

.almas-benefits {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 1200px;
}

.almas-benefits__item {
    align-items: center;
    border-right: 1px solid #dce5ed;
    display: flex;
    gap: 14px;
    min-height: 64px;
    padding: 0 22px;
}

.almas-benefits__item:first-child {
    padding-left: 0;
}

.almas-benefits__item:last-child {
    border-right: 0;
}

.almas-benefits__icon {
    height: 46px;
    object-fit: contain;
    width: 46px;
}

.almas-benefits__item span {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.almas-quick-links {
    background: #f7fbff;
    padding: 0 0 34px;
}

.almas-quick-links__grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.almas-quick-link {
    align-items: center;
    background: #fff;
    border: 1px solid #e0e9f1;
    border-radius: 7px;
    color: #173956;
    display: grid;
    font-size: 13px;
    font-weight: 700;
    gap: 12px;
    grid-template-columns: 82px 1fr auto;
    min-height: 96px;
    padding: 10px 14px 10px 8px;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.almas-quick-link:hover {
    border-color: #7aa8ce;
    transform: translateY(-2px);
}

.almas-quick-link__image {
    height: 72px;
    object-fit: contain;
    width: 82px;
}

.almas-quick-link i {
    color: #1464a8;
}

.almas-home .catalog {
    padding-top: 30px;
}

@media (max-width: 1199px) {
    .almas-hero__container {
        grid-template-columns: 58% 42%;
    }

    .almas-process {
        right: 0;
    }

    .almas-benefits__item {
        padding: 0 12px;
    }
}

@media (max-width: 991px) {
    .almas-hero {
        padding-top: 36px;
    }

    .almas-hero__container {
        display: block;
    }

    .almas-hero__content {
        padding-right: 0;
    }

    .almas-hero__title {
        font-size: 38px;
        max-width: 760px;
    }

    .almas-hero__visual {
        min-height: 430px;
    }

    .almas-hero__equipment {
        left: -30px;
        width: 85%;
    }

    .almas-process {
        right: 0;
    }

    .almas-benefits {
        gap: 0;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .almas-benefits__item {
        border-bottom: 1px solid #dce5ed;
        padding: 12px;
    }

    .almas-benefits__item:nth-child(3) {
        border-right: 0;
    }

    .almas-quick-links__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .almas-hero {
        padding-top: 28px;
    }

    .almas-hero__kicker {
        align-items: flex-start;
        font-size: 11px;
    }

    .almas-hero__title {
        font-size: 34px;
    }

    .almas-hero__description {
        font-size: 15px;
    }

    .almas-search {
        display: grid;
        grid-template-columns: 1fr 110px;
    }

    .almas-search__query {
        grid-column: 1 / -1;
        min-height: 56px;
    }

    .almas-search select {
        border-left: 0;
        border-top: 1px solid #dbe6ef;
        min-height: 48px;
    }

    .almas-search button {
        min-height: 48px;
    }

    .almas-search-results__grid {
        grid-template-columns: 1fr;
    }

    .almas-search-result:nth-child(odd) {
        border-right: 0;
    }

    .almas-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .almas-button {
        width: 100%;
    }

    .almas-hero__visual {
        min-height: 370px;
    }

    .almas-hero__equipment {
        bottom: 15px;
        left: -18%;
        width: 115%;
    }

    .almas-process {
        gap: 8px;
        right: -6px;
        top: 16px;
    }

    .almas-process__item {
        font-size: 10px;
        gap: 7px;
    }

    .almas-process__icon {
        height: 39px;
        padding: 8px;
        width: 39px;
    }

    .almas-process__icon img {
        height: 23px;
        width: 23px;
    }

    .almas-efficiency {
        bottom: 0;
        padding: 12px;
        right: 0;
        width: 142px;
    }

    .almas-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .almas-benefits__item,
    .almas-benefits__item:first-child {
        border-right: 0;
        padding: 12px 6px;
    }

    .almas-benefits__icon {
        height: 38px;
        width: 38px;
    }

    .almas-benefits__item span {
        font-size: 12px;
    }

    .almas-quick-links {
        overflow: hidden;
    }

    .almas-quick-links__grid {
        display: flex;
        margin-right: -30px;
        overflow-x: auto;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
    }

    .almas-quick-link {
        flex: 0 0 250px;
        scroll-snap-align: start;
    }
}
