
.companies {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


.company {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}


.company-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    /*background: linear-gradient(135deg, #2967af 0%, #207cca 100%);*/
    color: #272727;
}

.company-title {
    margin: 0;
    font-size: 2.2rem;
    flex: 1;
}

.company-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px;
    margin-left: 20px;
}


.company-body {
    display: flex;
    flex-direction: column;
    padding: 25px;
}

.company-contacts {
    margin-bottom: 25px;
    gap: 20px;
    display: flex;

}

.company-contact {
    margin: 10px 0;
    font-size: 1.1rem;

    display: flex;
    align-items: center;
    background: #414141;
    background: linear-gradient(165deg, #414141, #0176FE);
    height: 35px;
    width: auto;
    border-radius: 5px;
    padding: 10px;
    color: white;
}

/*.company-contact::before {*/
/*    */
/*    margin-right: 10px;*/
/*    color: #207cca;*/
/*    font-size: 1.5rem;*/
/*}*/

.company-description {
    line-height: 1.8;
    color: #555;
    margin: 0;
    font-size: 1.1rem;
}

/* Футер компании */
.company-footer {
    padding: 0 25px 25px;
}

.company-feedback {
    display: flex;
    flex-direction: column;
}

.company-feedback-text {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    resize: vertical;
    min-height: 50px;
    max-height: 150px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: border-color 0.3s;
}

.company-feedback-text:focus {
    border-color: #207cca;
    outline: none;
    box-shadow: 0 0 0 3px rgba(32, 124, 202, 0.1);
}

.company-feedback-submit {
    align-self: flex-end;
    padding: 12px 30px;
    background: #414141;
    background: linear-gradient(165deg, #414141, #0176FE);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.company-feedback-submit:hover {
    background: linear-gradient(165deg, #414141, #0064cc);
    transform: translateY(-2px);
    color: white;
}

/* Анимация загрузки логотипа */
.company-logo[src=""] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Адаптивность */
@media (max-width: 850px) {
    .company-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .company-logo {
        margin: 15px 0 0;
        align-self: flex-start;
    }
}

@media (max-width: 600px) {
    .company-title {
        font-size: 1.8rem;
    }

    .company-header {
        padding: 20px;
    }

    .company-body {
        padding: 20px;
    }

    .company-logo {
        width: 60px;
        height: 60px;
    }

    .company-contact {
        font-size: 1rem;
    }

    .company-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .companies {
        padding: 10px;
    }

    .company {
        border-radius: 8px;
    }

    .company-title {
        font-size: 1.6rem;
    }

    .company-feedback-submit {
        width: 100%;
        padding: 15px;
    }
}

.company-image{
    width: 100%;
    height: 400px;
    background-color: black;
}

.company-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    padding-top: 3%;

    flex-wrap: wrap;
}

.company-infocard{
    width: 350px;
    height: 120px;
    padding: 20px 0px 0px 0px;

    border-top: solid 2px #d5d5d5;
    overflow: hidden;

    /*-webkit-box-shadow: 2px 4px 8px 0px rgba(51, 51, 51, 0.2);*/
    /*-moz-box-shadow: 2px 4px 8px 0px rgba(51, 51, 51, 0.2);*/
    /*box-shadow: 2px 4px 8px 0px rgba(51, 51, 51, 0.2);*/
}

.company-name-v2{
    display: flex;
    justify-content: space-between;
    align-items: center;

    max-width: 400px;
}

.company-profile{
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 60px;

    margin-top: 5%;
}

.company-profile-body{
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;

    max-width: 800px;
    -webkit-box-shadow: 2px 4px 8px 0px rgba(54, 54, 54, 0.3);
    -moz-box-shadow: 2px 4px 8px 0px rgba(54, 54, 54, 0.3);
    box-shadow: 2px 4px 8px 0px rgba(54, 54, 54, 0.3);
    padding: 20px;
    border-radius: 5px;
}

.company-text{
    font-size: 20px;
}

.company-infocard > h2{

    font-size: 26px;
}


.company-shortdescription{
    content: '';
    overflow: hidden;
    height: 140px;
}

.company-profile-header{
    width: 500px;
    padding: 20px;
    border-radius: 5px;

    -webkit-box-shadow: 2px 4px 8px 0px rgba(54, 54, 54, 0.3);
    -moz-box-shadow: 2px 4px 8px 0px rgba(54, 54, 54, 0.3);
    box-shadow: 2px 4px 8px 0px rgba(54, 54, 54, 0.3);

}

.jobwidth{

}