/* Цветовая палитра */
:root {
    --primary-color: #0097dc;
    --primary-light: #00b4ff;
    --primary-dark: #007bb5;
    --secondary-color: #00dcb4;
    --gradient-primary: linear-gradient(135deg, #0097dc 0%, #00b4ff 100%);
}

/* Hero секция */
.about-hero {
    position: relative;
    height: 10vh;
    min-height: 130px;
    overflow: hidden;
    background: var(--gradient-primary);
    color: white;
    margin-bottom: 60px;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.custom-breadcrumbs {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.custom-breadcrumbs a {
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.custom-breadcrumbs a:hover {
    text-decoration: underline;
}

.custom-breadcrumbs span {
    margin: 0 8px;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
}

/* Основная информация */
.about-intro-section {
    padding: 0 0 80px 0;
}

.about-intro-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-intro-image img {
    width: 100%;
    display: block;
}

/* Планшет мокап (как на главной странице) */
.tablet-mockup {
    position: relative;
    padding: 30px 20px 20px;
}

.tablet-frame {
    position: relative;
    background: linear-gradient(145deg, #2d3436, #1e272e);
    border-radius: 20px;
    padding: 15px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 2px 5px rgba(255, 255, 255, 0.1);
    aspect-ratio: 16 / 9;
}

.tablet-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(145deg, #636e72, #2d3436);
    border-radius: 21px;
    z-index: -1;
}

.tablet-camera {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #1a1a1a 30%, #333 60%, #555);
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.tablet-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.tablet-screen iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.about-intro-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.badge-content {
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.about-intro-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

.about-intro-content .lead {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.about-intro-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

/* Статистика */
.about-stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 151, 220, 0.05) 0%, rgba(0, 220, 180, 0.05) 100%);
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 40px 20px;
    box-shadow: 0 10px 30px rgba(0, 151, 220, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 151, 220, 0.2);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 151, 220, 0.3);
}

.stat-icon i {
    font-size: 28px;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* Миссия и видение */
.about-mission-section {
    padding: 80px 0;
}

.mission-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 151, 220, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 151, 220, 0.15);
}

.mission-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-icon i {
    font-size: 32px;
    color: white;
}

.mission-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.mission-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* Ценности */
.about-values-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, rgba(0, 151, 220, 0.02) 100%);
}

.about-values-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.value-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 151, 220, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 151, 220, 0.15);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(0, 151, 220, 0.1) 0%, rgba(0, 220, 180, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--gradient-primary);
}

.value-icon i {
    font-size: 24px;
    color: var(--primary-color);
    transition: color 0.3s;
}

.value-card:hover .value-icon i {
    color: white;
}

.value-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* Timeline */
.about-timeline-section {
    padding: 80px 0;
}

.about-timeline-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 40px;
}

.timeline-marker {
    position: absolute;
    left: 6px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
    z-index: 2;
}

.timeline-marker.active {
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 151, 220, 0.2);
}

.timeline-content {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 151, 220, 0.1);
}

.timeline-year {
    display: inline-block;
    padding: 5px 15px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* Команда */
.about-team-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, rgba(0, 151, 220, 0.02) 0%, #ffffff 100%);
}

.about-team-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 151, 220, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 151, 220, 0.2);
}

.team-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 25px 20px;
    text-align: center;
}

.team-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.team-position {
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.team-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(0, 151, 220, 0.05) 0%, rgba(0, 220, 180, 0.05) 100%);
    border-radius: 10px;
    color: #555;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.team-contact-item:hover {
    background: linear-gradient(135deg, rgba(0, 151, 220, 0.1) 0%, rgba(0, 220, 180, 0.1) 100%);
    color: var(--primary-color);
    transform: translateX(3px);
}

.team-contact-item i {
    font-size: 14px;
    color: var(--primary-color);
    min-width: 16px;
}

.team-contact-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-messengers {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 5px;
}

.team-messenger-link {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(0, 151, 220, 0.1) 0%, rgba(0, 220, 180, 0.1) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.team-messenger-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

.team-messenger-link i {
    font-size: 18px;
}

/* CTA */
.about-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 151, 220, 0.05) 0%, rgba(0, 220, 180, 0.05) 100%);
}

.about-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.about-cta-section .lead {
    font-size: 1.2rem;
    color: #666;
}

.about-cta-section .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 151, 220, 0.3);
}

.about-cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 151, 220, 0.4);
}

/* Адаптивность */
@media (max-width: 991px) {
    .about-hero {
        min-height: 100px;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-intro-section,
    .about-stats-section,
    .about-mission-section,
    .about-values-section,
    .about-timeline-section,
    .about-team-section,
    .about-cta-section {
        padding: 60px 0;
    }

    .about-intro-content h2 {
        font-size: 1.8rem;
    }

    .mission-card {
        padding: 35px;
    }
}

@media (max-width: 576px) {
    .about-hero {
        min-height: 80px;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .tablet-mockup {
        padding: 20px 15px 15px;
    }

    .tablet-frame {
        padding: 12px;
    }

    .about-intro-badge {
        width: 90px;
        height: 90px;
        bottom: 15px;
        right: 15px;
    }

    .badge-number {
        font-size: 1.5rem;
    }

    .badge-text {
        font-size: 0.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .mission-card {
        padding: 25px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .team-contact-item {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    .team-messenger-link {
        width: 35px;
        height: 35px;
    }

    .team-messenger-link i {
        font-size: 16px;
    }
}