/* ============================================================
   ABOUT.CSS – строгий фирменный стиль страницы "О компании"
   ============================================================ */

.about-section {
    padding: 30px 0 60px;
}

/* --- ВВОДНЫЙ БЛОК --- */
.intro-text-block {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px 35px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-premium);
    border: 1px solid #e2e8f0;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-main);
}
.intro-text-block strong {
    color: var(--bg-dark);
}

/* --- КАРТОЧКИ С ВЫЕЗЖАЮЩЕЙ ЗОЛОТОЙ ПОЛОСОЙ --- */
.about-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 35px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-premium);
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    color: var(--text-main);
}
.about-card:last-child {
    margin-bottom: 0;
}
.about-card::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--accent-gold);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 0 0 16px 16px;
}
.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(14, 41, 66, 0.12);
    border-color: var(--accent-gold);
}
.about-card:hover::after {
    left: 0;
    width: 100%;
}
.about-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 15px;
}
.about-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 12px;
}
.about-card p:last-child {
    margin-bottom: 0;
}

/* --- ЦИФРЫ (ТОЧНАЯ АНИМАЦИЯ ИЗ PROIZVODSTVO.CSS БЕЗ СМЕНЫ ЦВЕТА) --- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
    text-align: center;
}
.stats-row .stat-item .stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 5px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.stats-row .stat-item .stat-label {
    font-size: 14px;
    color: #64748b;
    line-height: 1.4;
}
.about-card:hover .stats-row .stat-item:nth-child(1) .stat-number {
    animation: pulse-number 0.8s ease-in-out;
}
.about-card:hover .stats-row .stat-item:nth-child(2) .stat-number {
    animation: pulse-number 0.8s ease-in-out 0.2s;
}
.about-card:hover .stats-row .stat-item:nth-child(3) .stat-number {
    animation: pulse-number 0.8s ease-in-out 0.4s;
}
@keyframes pulse-number {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* --- ЭФФЕКТ ДОМИНО --- */
.domino-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0 5px;
}
.domino-chip {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: transparent;
    color: #475569;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
    font-weight: 500;
    font-size: 15px;
}
.domino-chip:nth-child(1) { transition-delay: 0.05s; }
.domino-chip:nth-child(2) { transition-delay: 0.10s; }
.domino-chip:nth-child(3) { transition-delay: 0.15s; }
.domino-chip:nth-child(4) { transition-delay: 0.20s; }
.domino-chip:nth-child(5) { transition-delay: 0.25s; }
.domino-chip:nth-child(6) { transition-delay: 0.30s; }
.domino-chip:nth-child(7) { transition-delay: 0.35s; }
.domino-chip:nth-child(8) { transition-delay: 0.40s; }

.about-card:hover .domino-chip {
    background-color: var(--accent-gold);
    color: #1e293b;
    border-color: var(--bg-dark);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(220, 179, 107, 0.2);
}

/* --- СПИСОК ГАЛЬВАНИКИ --- */
.about-card ul.regular-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 30px;
    margin: 15px 0 5px;
}
.about-card ul.regular-list li {
    font-size: 15px;
    padding: 4px 0 4px 20px;
    position: relative;
    color: #475569;
}
.about-card ul.regular-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--bg-dark);
    font-weight: 700;
    transition: color 0.3s;
}
.about-card:hover ul.regular-list li::before {
    color: var(--accent-gold);
}

/* --- КАРУСЕЛЬ --- */
.carousel-container {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 28px 20px;
    box-shadow: var(--shadow-premium);
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
}
.carousel-item {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    box-sizing: border-box;
    text-align: center;
}
.carousel-item .icon-wrap {
    width: 90px;
    height: 90px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border: 2px solid transparent;
    transition: all 0.4s;
}
.carousel-item .icon-wrap svg {
    width: 45px;
    height: 45px;
    transition: transform 0.3s;
}
.carousel-item:hover .icon-wrap svg {
    transform: scale(1.1) rotate(-5deg);
}
.carousel-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 5px;
}
.carousel-item p {
    font-size: 14.5px;
    color: #475569;
    margin: 0;
    max-width: 500px;
}
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 15px;
    position: relative;
    z-index: 2;
}
.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    color: var(--bg-dark);
}
.carousel-btn:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(220, 179, 107, 0.3);
}
.carousel-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.carousel-dots {
    display: flex;
    gap: 8px;
}
.carousel-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d9e6;
    cursor: pointer;
    transition: all 0.3s;
}
.carousel-dots span.active {
    background: var(--bg-dark);
    transform: scale(1.2);
}
.carousel-dots span:hover {
    background: var(--accent-gold);
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 1024px) {
    .about-card ul.regular-list {
        grid-template-columns: 1fr;
    }
    .stats-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
@media (max-width: 768px) {
    .about-card {
        padding: 22px 20px;
    }
    .about-card h3 {
        font-size: 18px;
    }
    .intro-text-block {
        padding: 20px;
        font-size: 15px;
    }
    .carousel-item .icon-wrap {
        width: 75px;
        height: 75px;
    }
    .carousel-item .icon-wrap svg {
        width: 38px;
        height: 38px;
    }
}
@media (max-width: 480px) {
    .carousel-item .icon-wrap {
        width: 65px;
        height: 65px;
    }
    .carousel-item .icon-wrap svg {
        width: 32px;
        height: 32px;
    }
}