/* Always show content on Activities cards (Home page) without hover-only hiding */
.item-activities {
    padding-top: 90px !important;
    padding-bottom: 32px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.item-activities:hover {
    padding-top: 90px !important;
    padding-bottom: 32px !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
.item-activities::before {
    color: #fff !important;
}
.item-activities::after {
    opacity: 1 !important;
    visibility: visible !important;
    background: rgba(34, 42, 49, 0.68) !important;
    transition: background 0.3s ease !important;
}
.item-activities:hover::after {
    background: rgba(245, 108, 23, 0.78) !important;
}
.item-activities__image img {
    opacity: 1 !important;
    visibility: visible !important;
}
.item-activities__title {
    color: #fff !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}
.item-activities__title::before {
    opacity: 1 !important;
    visibility: visible !important;
    background-color: #ff7c40 !important;
}
.item-activities:hover .item-activities__title::before {
    background-color: #fff !important;
}
.item-activities__list {
    display: block !important;
    margin-top: 2.5rem !important;
}

/* Always show description text on Project Department cards (Activities page) */
.item-cards {
    padding-top: 68px !important;
    padding-bottom: 28px !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}
.item-cards:hover {
    border-color: #ff7c40 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.item-cards::before {
    display: block !important;
    position: absolute !important;
    top: 24px !important;
    left: 32px !important;
    font-size: 1.5rem !important;
    color: #ff7c40 !important;
    opacity: 1 !important;
    transform: none !important;
}
.item-cards:hover::before {
    opacity: 1 !important;
    transform: none !important;
}
.item-cards .item-cards__content {
    min-height: auto !important;
    transform: none !important;
}
.item-cards .item-cards__title {
    margin-bottom: 14px !important;
    color: #2b333a !important;
}
.item-cards .item-cards__text {
    opacity: 1 !important;
    transform: none !important;
    color: #4a5259 !important;
    letter-spacing: 0.3px !important;
}

@media (max-width: 767.98px) {
    .item-activities {
        padding-top: 64px !important;
        padding-left: 24px !important;
        padding-right: 20px !important;
        min-height: auto !important;
    }
    .item-activities::before {
        top: 22px !important;
        left: 24px !important;
    }
    .item-cards {
        padding-top: 60px !important;
        padding-left: 24px !important;
        padding-right: 20px !important;
    }
    .item-cards::before {
        left: 24px !important;
        top: 20px !important;
    }
}

/* === Clean 3-column alignment for Gelius Numbers section === */
@media (min-width: 768px) {
    .gelius-numbers__body {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: auto auto auto !important;
        grid-template-areas:
            "title title image"
            "item-1 item-2 item-3"
            "info info info" !important;
        column-gap: 32px !important;
        row-gap: 44px !important;
        align-items: start !important;
    }
    .gelius-numbers__title-info {
        align-self: center !important;
    }
    .gelius-numbers__text {
        max-width: 540px !important;
    }
    .gelius-numbers__item {
        max-width: 100% !important;
        padding-top: 20px !important;
        border-top: 2px solid #ff7c40 !important;
        align-self: start !important;
    }
    .gelius-numbers__info {
        padding-left: 0 !important;
        max-width: 100% !important;
        padding-top: 24px !important;
        border-top: 1px solid #e2e2e2 !important;
    }
}



/* === Clean unified Footer layout (Desktop, Tablet & Mobile) === */
.footer {
    padding: 0 15px !important;
}
.footer__container {
    width: 100% !important;
    min-height: auto !important;
    padding-top: 52px !important;
    padding-bottom: 52px !important;
}
.footer__body {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: auto minmax(260px, 1.3fr) minmax(220px, 1fr) !important;
    column-gap: 48px !important;
    row-gap: 32px !important;
    align-items: start !important;
}
.footer__logo {
    margin-right: 0 !important;
    display: inline-block !important;
}
.footer__contact,
.contact-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
}
.contact-footer__company {
    font-weight: 500 !important;
    margin-bottom: 2px !important;
}
.contact-footer__address {
    line-height: 1.45 !important;
    margin-bottom: 4px !important;
}
.contact-footer__item {
    display: grid !important;
    grid-template-columns: 82px auto !important;
    column-gap: 8px !important;
    align-items: baseline !important;
    margin: 0 !important;
}
.contact-footer__mail {
    margin-top: 4px !important;
}
.footer__columns {
    display: grid !important;
    grid-template-columns: minmax(180px, 1.4fr) minmax(120px, 1fr) !important;
    column-gap: 40px !important;
    row-gap: 16px !important;
    align-items: start !important;
}
.footer__row {
    min-width: 0 !important;
}
.footer__list {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}
.footer__item,
.footer__item:not(:last-child) {
    margin-bottom: 0 !important;
}
.footer__link {
    display: inline-block !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

@media (max-width: 991.98px) {
    .footer__body {
        grid-template-columns: 1fr 1fr !important;
        column-gap: 32px !important;
        row-gap: 32px !important;
    }
    .footer__logo {
        grid-column: 1 / -1 !important;
    }
    .footer__columns {
        grid-template-columns: 1fr !important;
        row-gap: 14px !important;
    }
    .footer__list {
        gap: 14px !important;
    }
}

@media (max-width: 767.98px) {
    .footer__container {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
    }
    .footer__body {
        grid-template-columns: 1fr !important;
        row-gap: 28px !important;
    }
    .contact-footer__item {
        grid-template-columns: 76px auto !important;
    }
    .footer__columns {
        grid-template-columns: 1fr !important;
        row-gap: 14px !important;
        width: 100% !important;
    }
    .footer__list {
        gap: 14px !important;
    }
}

/* === Vacancies action buttons (hh.ru + Email) === */
.body-spollers__wrap-btn,
.vacancies__cta-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    align-items: center !important;
}
.link_outline {
    background-color: transparent !important;
    color: #2b333a !important;
    border: 2px solid #ff7c40 !important;
    transition: all 0.3s ease !important;
}
.link_outline:hover {
    background-color: #ff7c40 !important;
    color: #fff !important;
}
@media (max-width: 575.98px) {
    .body-spollers__wrap-btn a,
    .vacancies__cta-group a {
        width: 100% !important;
        text-align: center !important;
    }
}

/* === Vacancies action buttons (hh.ru + Email) === */
.body-spollers__wrap-btn,
.vacancies__cta-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    align-items: center !important;
}
.link_outline {
    background-color: transparent !important;
    color: #2b333a !important;
    border: 2px solid #ff7c40 !important;
    transition: all 0.3s ease !important;
}
.link_outline:hover {
    background-color: #ff7c40 !important;
    color: #fff !important;
}
@media (max-width: 575.98px) {
    .body-spollers__wrap-btn a,
    .vacancies__cta-group a {
        width: 100% !important;
        text-align: center !important;
    }
}
.body-spollers__wrap-btn,.vacancies__cta-group{display:flex!important;flex-wrap:wrap!important;gap:16px!important;align-items:center!important}
.link_outline{background-color:transparent!important;color:#2b333a!important;border:2px solid #ff7c40!important;transition:all .3s ease!important}
.link_outline:hover{background-color:#ff7c40!important;color:#fff!important}
