/* === СТРАНИЦА О КОМПАНИИ === */

.page-hero {
    background: var(--white);
    padding: 50px 0 20px;
}

.about-hero-section {
    background: var(--white);
    padding: 30px 0 30px;
}

.slogan-banner {
    background: var(--primary);
    color: var(--white);
    padding: 28px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.slogan-banner p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

.about-hero-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.about-hero-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.about-text-content p {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
}

.about-text-content p:last-child { margin-bottom: 0; }

/* Наши ценности */
.values-section {
    background: var(--white);
    padding: 30px 0 20px;
}

.values-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.values-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: block;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.value-card {
    background: var(--light);
    padding: 14px 18px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.value-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.value-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.value-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.value-card p {
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--gray);
    margin: 0;
}

/* Лицензии */
.licenses-section {
    background: var(--white);
    padding: 30px 0 20px;
}

.licenses-intro {
    margin-bottom: 30px;
    max-width: 1300px;
}

.licenses-list {
    list-style-type: disc;
    padding-left: 30px;
    margin-top: 16px;
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.6;
}

.licenses-list li { margin-bottom: 12px; }

.licenses-grid {
    display: grid;
    margin-top: 50px;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.license-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
}

.license-img {
    width: 100%;
    height: 280px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.license-img img { width: 100%; height: 100%; object-fit: contain; }

.license-caption {
    padding: 16px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    line-height: 1.4;
    background: var(--white);
}

/* История */
.history-section {
    background: var(--white);
    padding: 30px 0 20px;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: stretch;
}

.history-card {
    background: var(--light);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.history-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 12px;
}

.history-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    margin: 0;
}

.history-image-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--light);
    min-height: 200px;
}

.history-image-card img { width: 100%; height: 100%; object-fit: cover; display: block; }


@media (max-width: 1000px) {
    .values-layout, .history-grid { grid-template-columns: 1fr; }
    .values-photo { order: -1; margin-bottom: 20px; min-height: 250px; }
    .values-photo img { min-height: 250px; }
    .licenses-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
    .page-header-title { font-size: 2rem; }
    .section-title { font-size: 1.75rem; }
    .about-hero-image img { height: 200px; }
    .license-img { height: 220px; }
    .license-caption { font-size: 0.85rem; padding: 12px; }
    
    .history-grid { display: flex; flex-direction: column; gap: 20px; }
    .history-card:nth-child(1) { order: 1; }
    .history-card:nth-child(2) { order: 2; }
    .history-card:nth-child(3) { order: 3; }
    .history-image-card:nth-child(4) { order: 4; }
    .history-card:nth-child(6) { order: 5; }
    .history-image-card:nth-child(5) { order: 6; }
}

@media (max-width: 600px) {
    .licenses-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .license-img { height: 200px; }
    .license-caption { font-size: 0.8rem; padding: 10px; }
}