/* ==========================================================================
   About Section Pages - Shared Styles
   ========================================================================== */

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 50%, #1e3a5f 100%);
    padding: 8rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.about-hero .container {
    position: relative;
    z-index: 1;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.02em;
}

.about-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1.5rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.about-breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.about-breadcrumbs a:hover {
    color: #ffffff;
}

/* Типовой hero с overlay-изображением (Отзывы, Документы, Реквизиты, Статьи, Контакты) */
.about-hero--overlay {
    background: linear-gradient(135deg, #1E3A5F 0%, #0F172A 100%) !important;
    padding: 5rem 0;
    text-align: left;
}

.about-hero--overlay::before {
    display: none;
}

.about-hero--overlay::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    min-width: 300px;
    background-image: var(--hero-bg-image);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;
    pointer-events: none;
    z-index: 0;
}

.about-hero--overlay .about-title {
    color: #fff;
    margin: 0;
}

.about-hero--overlay .about-description {
    color: rgba(255, 255, 255, 0.85);
    margin-left: 0;
    margin-right: 0;
}

.about-hero--overlay .about-breadcrumbs {
    justify-content: flex-start;
}

.about-hero--overlay .about-breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
}

.about-hero--overlay .about-breadcrumbs a:hover {
    color: #fff;
}

.about-hero--overlay .about-breadcrumbs span {
    color: rgba(255, 255, 255, 0.6);
}

.about-hero--overlay .about-breadcrumbs span:last-of-type {
    color: #fff;
}

/* Мобильная: изображение на всю ширину */
@media (max-width: 768px) {
    .about-breadcrumbs {
        display: none;
    }

    .about-hero--overlay::after {
        left: 0;
        right: 0;
        width: 100%;
        min-width: 100%;
        background-position: center;
        background-size: cover;
    }
}

/* Content Section */
.about-content {
    padding: 4rem 0;
    background: #f8fafc;
}

.about-content .container {
    max-width: 1400px;
}

/* Info Block */
.about-info-block {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
}

.about-info-block h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1rem 0;
}

.about-info-block p {
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 1rem 0;
}

.about-info-block p:last-child {
    margin-bottom: 0;
}

/* About Main Page - Sections Grid */
.about-sections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-section-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-section-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    transform: translateY(-4px);
}

.about-section-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.about-section-card:hover .about-section-icon {
    background: #3b82f6;
    color: #ffffff;
}

.about-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.about-section-desc {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.about-section-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #3b82f6;
    transition: color 0.2s ease;
}

.about-section-card:hover .about-section-link {
    color: #1d4ed8;
}

@media (max-width: 900px) {
    .about-sections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .about-sections-grid {
        grid-template-columns: 1fr;
    }
}

/* Clients Page Styles */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.client-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.client-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.client-card img {
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-placeholder {
    font-size: 1rem;
    font-weight: 600;
    color: #94a3b8;
    text-align: center;
}

/* Reviews Page Styles */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.review-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    flex-shrink: 0;
}

.review-author {
    flex: 1;
}

.review-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.review-company {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.review-stars svg {
    width: 18px;
    height: 18px;
    fill: #fbbf24;
}

.review-text {
    color: #475569;
    line-height: 1.7;
    font-size: 0.9375rem;
    margin: 0;
}

/* Vacancies Page Styles */
.vacancies-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.vacancy-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.vacancy-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
}

.vacancy-info {
    flex: 1;
}

.vacancy-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.vacancy-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.vacancy-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #64748b;
}

.vacancy-meta svg {
    width: 16px;
    height: 16px;
    color: #94a3b8;
}

.vacancy-salary {
    font-weight: 600;
    color: #059669 !important;
}

.vacancy-btn {
    background: #3b82f6;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.vacancy-btn:hover {
    background: #2563eb;
    color: #ffffff;
}

.no-vacancies {
    text-align: center;
    padding: 3rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.no-vacancies p {
    color: #64748b;
    margin: 0;
}

/* Documents Page Styles */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.document-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.document-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.document-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.document-icon svg {
    width: 24px;
    height: 24px;
    color: #3b82f6;
}

.document-info {
    flex: 1;
    min-width: 0;
}

.document-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.document-meta {
    font-size: 0.8125rem;
    color: #94a3b8;
    margin: 0;
}

/* About Hero Left Aligned */
section.about-hero.about-hero--left {
    text-align: left !important;
    margin-top: -95px;
    padding: calc(6rem + 95px) 0 2rem 0;
}

section.about-hero.about-hero--left .container {
    text-align: left !important;
}

section.about-hero.about-hero--left h1.about-title {
    margin: 0;
    text-align: left !important;
}

section.about-hero.about-hero--left .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    justify-content: flex-start;
}

section.about-hero.about-hero--left .breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

section.about-hero.about-hero--left .breadcrumbs a:hover {
    color: #ffffff;
}

section.about-hero.about-hero--left .breadcrumbs span {
    color: rgba(255, 255, 255, 0.5);
}

section.about-hero.about-hero--left .breadcrumbs .current {
    color: #ffffff;
}

/* Requisites Page Styles */
.requisites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.requisite-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    transition: border-color 0.2s ease;
}

.requisite-card:hover {
    border-color: #cbd5e1;
}

.requisite-content {
    flex: 1;
    min-width: 0;
}

.requisite-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.375rem 0;
}

.requisite-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    word-break: break-all;
}

.requisite-copy {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.requisite-copy svg {
    width: 18px;
    height: 18px;
    color: #64748b;
    transition: all 0.2s ease;
}

.requisite-copy:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.requisite-copy:hover svg {
    color: #3b82f6;
}

.requisite-copy.copied {
    background: #dcfce7;
    border-color: #86efac;
}

.requisite-copy.copied svg {
    color: #16a34a;
}

.requisite-card--wide {
    grid-column: 1 / -1;
}

.requisite-card--wide .requisite-value {
    word-break: normal;
}

.requisites-copy-all {
    margin-top: 2rem;
    text-align: center;
}

.btn-copy {
    background: #f1f5f9;
    color: #475569;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-copy:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.btn-copy svg {
    width: 18px;
    height: 18px;
}

/* Responsive */
@media (max-width: 1200px) {
    .requisites-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .requisites-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 7rem 0 2.5rem;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-content {
        padding: 2.5rem 0;
    }

    .about-info-block {
        padding: 1.5rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .vacancy-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .vacancy-btn {
        width: 100%;
        text-align: center;
    }

    .requisites-grid {
        grid-template-columns: 1fr;
    }
}
