/***** О компании  ********/

.company-info-grid {
display: flex;
gap: 40px;
margin-bottom: 40px;
}

.company-contacts-col {
flex: 1;
}

.company-requisites-col {
flex: 1;
}

.contact-block {
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 1px solid rgba(84, 84, 84, 0.1);
}

.contact-block:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}

.contact-block__title {
font-weight: 600;
font-size: 1.2em;
margin-bottom: 12px;
color: #3D73D9;
letter-spacing: -0.3px;
}

.contact-block__phone,
.contact-block__email,
.contact-block__telegram,
.contact-block__text {
display: block;
font-size: 1em;
margin-bottom: 8px;
color: #545454;
text-decoration: none;
transition: color 0.2s ease;
}

.contact-block__phone {
font-weight: 600;
font-size: 1.1em;
}

.contact-block__phone:hover,
.contact-block__email:hover,
.contact-block__telegram:hover {
color: #3D73D9;
text-decoration: underline;
}

.contact-block__telegram {
display: inline-block;
background: #eef2ff;
padding: 4px 12px;
border-radius: 20px;
font-size: 0.9em;
margin-bottom: 12px;
width: fit-content;
}

.contact-block__telegram:hover {
background: #3D73D9;
color: white;
text-decoration: none;
}

.requisites-block .contact-block__text {
font-size: 0.9em;
line-height: 1.6;
color: #5a5a5a;
}

.requisites-block strong {
font-weight: 600;
color: #3D73D9;
}

.company-map-section {
margin-top: 20px;
}

.office-image-wrapper {
border-radius: 20px;
overflow: hidden;
background: #e2e2e2;
line-height: 0;
margin-bottom: 25px;
}

.office-image {
width: 100%;
height: auto;
display: block;
transition: transform 0.3s ease;
}

.office-image:hover {
transform: scale(1.02);
}

.map-wrapper {
border-radius: 20px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.map-wrapper iframe {
display: block;
width: 100%;
height: 400px;
border: none;
}

@media (max-width: 768px) {
.company-info-grid {
flex-direction: column;
gap: 20px;
}

.company-contacts-col,
.company-requisites-col {
flex: auto;
width: 100%;
}

.contact-block__title {
font-size: 1.1em;
}

.map-wrapper iframe {
height: 300px;
}
}

@media (max-width: 480px) {
.map-wrapper iframe {
height: 250px;
}

.contact-block__phone {
font-size: 1em;
}
}


/* ============================================
   О КОМПАНИИ - МИССИЯ
   ============================================ */

.mission-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
}

.mission-bg-image {
    width: 100%;
    min-height: 500px;
    background-image: url('/scr/mission.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.6;
}

.mission-wrapper:hover .mission-bg-image {
    transform: scale(1.02);
    opacity: 1;
}

/* Оверлей с центрированием */
.mission-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2360b6e3 0%, #1a1d24e6 100%);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Внутренний контент для центрирования */
.mission-inner-content {
    max-width: 80%;
    text-align: center;
    padding: 20px;
}

.mission-header {
    margin-bottom: 20px;
}

.mission-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding:0;
    position: relative;
    display: inline-block;
}

/* Декоративная линия под заголовком */
.mission-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #adea00;
}

.mission-wrapper .mission-text {
    font-size: 1.4rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    margin: 30px 0 0 0;
    max-width: 100%;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.shorts-section {
    background: transparent;
    margin-top: 0px;
}

/* Заголовок секции shorts */
.shorts-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
}

.shorts-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    padding: 0 0 10px 0;
    position: relative;
}

.shorts-header h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #3D73D9;
}

/* Контейнер с горизонтальной прокруткой */
.shorts-scroll-container {
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 15px;
    margin-bottom: 0;
    scrollbar-width: thin;
    scrollbar-color: #3D73D9 #e0e0e0;
}

/* Стилизация скроллбара для WebKit (Chrome, Safari) */
.shorts-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.shorts-scroll-container::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.shorts-scroll-container::-webkit-scrollbar-thumb {
    background: #3D73D9;
    border-radius: 10px;
}

.shorts-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #2956AD;
}

/* Обертка для всех shorts */
.shorts-wrapper {
    display: inline-flex;
    gap: 16px;
}

/* Отдельный shorts элемент */
.shorts-item {
    display: inline-block;
    width: 180px;
    transition: transform 0.3s ease;
}

.shorts-item:hover {
    transform: translateY(-5px);
}

/* Iframe стили */
.shorts-iframe {
    border-radius: 16px;
    background: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Подпись под видео */
.shorts-caption {
    font-size: 0.75rem;
    margin-top: 10px;
    color: #545454;
    white-space: normal;
    line-height: 1.4;
    text-align: center;
}

/* Планшеты */
@media (max-width: 992px) {
    .mission-bg-image {
        min-height: 450px;
    }
    
    .mission-title {
        font-size: 2.5rem;
    }
    
    .mission-wrapper .mission-text {
        font-size: 1.2rem;
    }
    
    .mission-inner-content {
        max-width: 85%;
    }
    
    .shorts-item {
        width: 160px;
    }
    
    .shorts-iframe {
        width: 160px;
        height: 285px;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .mission-bg-image {
        display: none;
    }
    
    .mission-wrapper {
        background: linear-gradient(135deg, #2360b6 0%, #1a1d24 100%);
        min-height: auto;
    }
    
    .mission-content-overlay {
        position: relative;
        background: transparent;
    }
    
    .mission-title {
        font-size: 2rem;
    }
    
    .mission-title::after {
        width: 60px;
        bottom: -10px;
    }
    
    .mission-wrapper .mission-text {
        font-size: 1.1rem;
        margin-top: 20px;
    }
    
    .mission-inner-content {
        max-width: 95%;
        padding: 40px 20px;
    }
    
    .shorts-header h3 {
        font-size: 1.3rem;
    }
    
    .shorts-item {
        width: 140px;
    }
    
    .shorts-iframe {
        width: 140px;
        height: 250px;
    }
    
    .shorts-caption {
        font-size: 0.7rem;
    }
}

/* Маленькие телефоны */
@media (max-width: 480px) {
    .mission-title {
        font-size: 1.5rem;
    }
    
    .mission-wrapper .mission-text {
        font-size: 0.95rem;
    }
    
    .mission-inner-content {
        padding: 30px 15px;
    }
    
    .shorts-item {
        width: 120px;
    }
    
    .shorts-iframe {
        width: 120px;
        height: 215px;
    }
    
    .shorts-caption {
        font-size: 0.65rem;
    }
    
    .shorts-wrapper {
        gap: 12px;
    }
}

/* ============================================
   О КОМПАНИИ - История
   ============================================ */

.text-history{
    font-size: 20px;
    margin: 20px 0px;
}

.company-stats-wrapper {
    position: relative;
    width: 100%;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 40px;
    background: #0a0c10;
}


.company-bg-image {
    width: 100%;
    height: 400px;
    background-image: url('/scr/company.png');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.company-stats-wrapper:hover .company-bg-image {
    transform: scale(1.02);
}


.company-bottom-section {
    display: flex;
    background: linear-gradient(135deg, #2360b6 0%, #1a1d24 100%);
    min-height: 280px;
}


.company-results {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    padding: 30px;
}

.company-awards {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 30px;
}


.team-result-stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    transition: all 0.3s ease;
    min-height: 220px;
    height: 220px;
}

.team-result-stat-item:hover {
    transform: translateY(-5px);
}


.team-result-stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 12px;
    min-height: 70px;
    align-items: flex-end;
}


.team-result-stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    letter-spacing: -1px;
    line-height: 1;
    display: inline-block;
}


.team-result-stat-plus {
    font-size: 32px;
    font-weight: 700;
    color: #adea00;
    margin-left: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: inline-block;
    line-height: 1;
}


.team-result-stat-line {
    width: 50px;
    height: 2px;
    background: #adea00;
    margin: 12px auto;
    transition: width 0.3s ease;
}


.team-result-stat-text {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    max-width: 220px;
    text-align: center;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}


.team-result-stat-item:hover .team-result-stat-line {
    width: 70px;
}


.team-result-stat-item-medal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    width: 110px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    height: 165px;
    border-radius: 5px;
}

.team-result-stat-item-medal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
}


.team-result-stat-item-medal img {
    max-width: 50px;
    height: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.team-result-stat-item-medal:hover img {
    transform: scale(1.1);
}


.team-result-stat-text-medal {
    font-size: 12px;
    line-height: 1.4;
    color: #fff;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-weight: 500;
}


@media (max-width: 900px) {
    .company-bg-image {
        height: 350px;
    }

    .company-results {
        padding: 20px;
        gap: 15px;
    }

    .company-awards {
        padding: 20px;
        gap: 20px;
    }

    .team-result-stat-number {
        font-size: 36px;
    }

    .team-result-stat-plus {
        font-size: 24px;
    }

    .team-result-stat-text {
        font-size: 11px;
        max-width: 180px;
    }
    
    .team-result-stat-number-wrapper {
        min-height: 55px;
    }
    
    .team-result-stat-item-medal {
        width: 120px;
        padding: 15px;
    }
    
    .team-result-stat-item-medal img {
        max-width: 40px;
    }
}


@media (max-width: 768px) {
    .company-bottom-section {
        flex-direction: column;
    }
    
    .company-results {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        gap: 20px;
    }
    
    .team-result-stat-item {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 12px 20px;
        gap: 15px;
    }
    
    .team-result-stat-number-wrapper {
        margin-bottom: 0;
        min-width: 100px;
        justify-content: flex-start;
        min-height: auto;
        align-items: baseline;
    }
    
    .team-result-stat-number {
        font-size: 36px;
    }
    
    .team-result-stat-plus {
        font-size: 24px;
    }
    
    .team-result-stat-line {
        display: none;
    }
    
    .team-result-stat-text {
        text-align: left;
        max-width: none;
        flex: 1;
        font-size: 12px;
    }
    
    .company-awards {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .team-result-stat-item-medal {
        width: calc(33.33% - 15px);
        min-width: 100px;
    }
    
    /* Текст медали слева на мобилках */
    .team-result-stat-text-medal {
        text-align: left;
    }
}


@media (max-width: 600px) {
    .company-bg-image {
        height: 280px;
    }
    
    .company-awards {
        flex-direction: column;
    }
    
    .team-result-stat-item-medal {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
        padding: 15px;
        text-align: left;
    }
    
    .team-result-stat-item-medal img {
        margin-bottom: 0;
    }
    
    .team-result-stat-text-medal {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .team-result-stat-number {
        font-size: 28px;
    }
    
    .team-result-stat-number-wrapper {
        min-width: 80px;
    }
    
    .team-result-stat-text {
        font-size: 11px;
    }
    
    .company-bg-image {
        height: 250px;
    }
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-result-stat-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.team-result-stat-item:nth-child(1) { animation-delay: 0.1s; }
.team-result-stat-item:nth-child(2) { animation-delay: 0.2s; }
.team-result-stat-item:nth-child(3) { animation-delay: 0.3s; }

.team-result-stat-item-medal {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.team-result-stat-item-medal:nth-child(1) { animation-delay: 0.2s; }
.team-result-stat-item-medal:nth-child(2) { animation-delay: 0.3s; }
.team-result-stat-item-medal:nth-child(3) { animation-delay: 0.4s; }

/* ============================================
   О КОМПАНИИ - Документы
   ============================================ */

.page-documents {
}

.page-documents h3 {
    font-weight: 600;
    font-size: 2.2em;
    color: #18181c;
    margin: 40px 0 30px 0;
    padding: 0;
    letter-spacing: -0.5px;
    border-bottom: 2px solid rgba(61, 115, 217, 0.1);
    padding-bottom: 15px;
}

.page-documents h3:first-of-type {
    margin-top: 20px;
}

.page-documents p {
    font-size: 18px;
    line-height: 1.6;
    color: #545454;
    margin-bottom: 15px;
}

.page-documents p b {
    color: #3D73D9;
    font-weight: 600;
}

.documents-grid {
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0 20px 0;
    width: fit-content;
}

.document-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 5px 5px 5px 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid #f1eeee;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    width: fit-content;
    margin: 0px 0 15px 0;
}

.document-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 30px rgba(61, 115, 217, 0.1);
    border-color: #3D73D9;
}

.document-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 50px 10px 20px;
    text-decoration: none;
    color: #545454;
    font-weight: 500;
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.doc-icon {
    width: 40px;
    height: 40px;
    background-color: #f11f1f9c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    transition: all 0.3s ease;
}

.document-card:hover .doc-icon {
    background-color: #f11f1f9c
    color: #ffffff;
}

.doc-title {
    flex: 1;
    transition: color 0.3s ease;
    padding-right: 15px;
}

.document-card:hover .doc-title {
    color: #3D73D9;
}

.doc-arrow {
    position: absolute;
    right: 25px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
}

.document-card:hover .doc-arrow {
    opacity: 1;
    transform: translateX(0);
}

.doc-arrow svg path {
    stroke: #3D73D9;
    transition: stroke 0.3s ease;
}

.document-card:hover .doc-arrow svg path {
    stroke: #3D73D9;
}

.doc-special-item {
    background: transparent;
    border: 2px solid #3d73d9;
    border-radius: 50px;
    padding: 10px 15px;
    font-weight: 600;
    color: #3d73d9;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 15px rgba(61, 115, 217, 0);
    width: fit-content;
    margin: 20px 0 10px 0;
}

.doc-special-item:hover {
    background: #3D73D9;
    color: #fff;
    border-color: #3D73D9;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(61, 115, 217, 0.3);
}

.doc-special-item .doc-icon {
    background: rgba(61, 115, 217, 0.1);
    color: #3D73D9;
}

.doc-special-item:hover .doc-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

@media (max-width: 768px) {
    .page-documents {
        padding: 20px 0 40px 0;
    }

    .page-documents h3 {
        font-size: 1.8em;
        margin: 30px 0 20px 0;
    }

    .documents-grid {
        gap: 15px;
    }

    .document-card {
        flex: 1 1 100%;
        min-width: auto;
    }

    .document-link {
        padding: 15px 20px;
        font-size: 16px;
    }

    .doc-special-item {
        padding: 12px 20px;
        font-size: 16px;
    }

    .doc-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .document-link {
        flex-wrap: wrap;
        gap: 10px;
    }

    .doc-title {
        width: calc(100% - 55px);
        order: 2;
    }

    .doc-arrow {
        bottom: 15px;
        right: 20px;
    }
}

