/* about.css - Полная версия для страницы "О нас" */

:root {
    --amp-primary-color: #032D43;
    --amp-primary-light: rgba(3, 45, 67, 0.05);
    --amp-primary-medium: rgba(3, 45, 67, 0.1);
    --amp-primary-dark: rgba(3, 45, 67, 0.2);
    --amp-text-dark: #111827;
    --amp-text-gray: #6B7280;
    --amp-text-light: #9CA3AF;
    --amp-bg-light: #F9FAFB;
    --amp-bg-white: #FFFFFF;
    --amp-border-color: #E5E7EB;
    --amp-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --amp-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --amp-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --amp-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --amp-border-radius-sm: 8px;
    --amp-border-radius-md: 12px;
    --amp-border-radius-lg: 16px;
    --amp-border-radius-xl: 24px;
}

/* Базовые стили */
.amp-about-page {
    font-family: 'Inter', sans-serif;
    color: var(--amp-text-dark);
    line-height: 1.6;
    background-color: var(--amp-bg-white);
}

/* Container */
.amp-about-page .container {
    max-width: 1650px;
    margin: 0 auto;
    padding: 0 120px;
}

@media (max-width: 1400px) {
    .amp-about-page .container {
        padding: 0 80px;
    }
}

@media (max-width: 1200px) {
    .amp-about-page .container {
        padding: 0 60px;
    }
}

@media (max-width: 992px) {
    .amp-about-page .container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .amp-about-page .container {
        padding: 0 24px;
    }
}

/* Breadcrumbs */
.amp-about-breadcrumbs {
    background: var(--amp-bg-white);
    border-bottom: 1px solid var(--amp-border-color);
    padding: 16px 0;
    width: 100%;
}

.amp-breadcrumbs-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--amp-text-gray);
}

.amp-breadcrumb-link {
    color: var(--amp-text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.amp-breadcrumb-link:hover {
    color: var(--amp-primary-color);
}

.amp-breadcrumb-separator {
    font-size: 12px;
    opacity: 0.5;
}

.amp-breadcrumb-current {
    color: var(--amp-primary-color);
    font-weight: 500;
}

/* Header Section */
.amp-about-header-section {
    background: var(--amp-bg-white);
    border-bottom: 1px solid var(--amp-border-color);
    padding: 32px 0;
    width: 100%;
}

.amp-about-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.amp-about-main-title {
    color: var(--amp-primary-color);
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.2;
}

.amp-about-header-description {
    color: var(--amp-text-gray);
    font-size: 18px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .amp-about-main-title {
        font-size: 36px;
    }
    .amp-about-header-description {
        font-size: 16px;
    }
}

/* Hero Section */
.amp-about-hero-section {
    background: var(--amp-bg-white);
    padding: 64px 0;
    width: 100%;
}

.amp-about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.amp-about-section-title {
    color: var(--amp-primary-color);
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.3;
}

.amp-about-hero-paragraph {
    color: var(--amp-text-gray);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.amp-about-hero-paragraph:last-child {
    margin-bottom: 32px;
}

.amp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--amp-border-radius-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.amp-btn-primary {
    background: var(--amp-primary-color);
    color: white;
    border: none;
}

.amp-btn-primary:hover {
    background: rgba(3, 45, 67, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--amp-shadow-lg);
}

.amp-btn-outline {
    background: transparent;
    color: var(--amp-primary-color);
    border: 1px solid var(--amp-primary-color);
}

.amp-btn-outline:hover {
    background: var(--amp-primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--amp-shadow-lg);
}

.amp-about-hero-image {
    border-radius: var(--amp-border-radius-lg);
    overflow: hidden;
    box-shadow: var(--amp-shadow-xl);
}

.amp-hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

@media (max-width: 992px) {
    .amp-about-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .amp-about-hero-image {
        order: -1;
    }
    .amp-hero-image {
        height: 400px;
    }
}

/* Stats Section */
.amp-about-stats-section {
    background: linear-gradient(135deg, var(--amp-primary-light), var(--amp-primary-medium));
    padding: 64px 0;
    width: 100%;
}

.amp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.amp-stat-card {
    background: var(--amp-bg-white);
    border-radius: var(--amp-border-radius-md);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--amp-shadow-md);
    transition: all 0.3s ease;
}

.amp-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--amp-shadow-xl);
}

.amp-stat-number {
    color: var(--amp-primary-color);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1;
}

.amp-stat-label {
    color: var(--amp-text-gray);
    font-size: 16px;
    font-weight: 500;
}

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

@media (max-width: 768px) {
    .amp-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Mission and Vision */
.amp-about-mission-vision-section {
    background: var(--amp-bg-white);
    padding: 96px 0;
    width: 100%;
}

.amp-mission-section,
.amp-vision-section {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 96px;
}

.amp-mission-section:last-child,
.amp-vision-section:last-child {
    margin-bottom: 0;
}

.amp-mission-content,
.amp-vision-content {
    flex: 1;
}

.amp-mission-header,
.amp-vision-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.amp-mission-icon-container,
.amp-vision-icon-container {
    display: flex;
    align-items: center;
    gap: 24px;
}

.amp-mission-icon,
.amp-vision-icon {
    width: 56px;
    height: 56px;
    background: var(--amp-primary-color);
    border-radius: var(--amp-border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.amp-mission-icon i,
.amp-vision-icon i {
    color: white;
    font-size: 24px;
}

.amp-mission-divider,
.amp-vision-divider {
    height: 1px;
    flex: 1;
    background: var(--amp-border-color);
}

.amp-mission-title,
.amp-vision-title {
    color: var(--amp-primary-color);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.amp-mission-description,
.amp-vision-description {
    color: var(--amp-text-gray);
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
}

.amp-mission-graphic,
.amp-vision-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.amp-mission-graphic-circle,
.amp-vision-graphic-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--amp-primary-light);
    border: 2px solid var(--amp-primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.amp-mission-graphic-circle i,
.amp-vision-graphic-circle i {
    color: var(--amp-primary-color);
    font-size: 80px;
}

@media (max-width: 992px) {
    .amp-mission-section,
    .amp-vision-section {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .amp-mission-header,
    .amp-vision-header {
        justify-content: center;
    }
    .amp-vision-section {
        flex-direction: column-reverse;
    }
}

/* Values Section */
.amp-about-values-section {
    background: var(--amp-bg-light);
    padding: 96px 0;
    width: 100%;
}

.amp-section-header {
    text-align: center;
    margin-bottom: 64px;
}

.amp-section-title {
    color: var(--amp-primary-color);
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.2;
}

.amp-section-subtitle {
    color: var(--amp-text-gray);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.amp-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.amp-value-card {
    background: var(--amp-bg-white);
    border-radius: var(--amp-border-radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--amp-shadow-md);
    transition: all 0.3s ease;
}

.amp-value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--amp-shadow-xl);
}

.amp-value-icon-container {
    width: 80px;
    height: 80px;
    border-radius: var(--amp-border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

.amp-value-icon-container i {
    color: white;
    font-size: 32px;
}

.amp-value-title {
    color: var(--amp-primary-color);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.3;
}

.amp-value-description {
    color: var(--amp-text-gray);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

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

@media (max-width: 768px) {
    .amp-values-grid {
        grid-template-columns: 1fr;
    }
}

/* Team Section */
.amp-about-team-section {
    background: var(--amp-bg-white);
    padding: 96px 0;
    width: 100%;
}

.amp-team-carousel-container {
    position: relative;
    margin: 0 -16px;
    padding: 0 16px;
}

.amp-team-carousel {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 16px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.amp-team-carousel::-webkit-scrollbar {
    display: none;
}

.amp-team-card {
    flex: 0 0 350px;
    height: 500px;
    perspective: 1500px;
    cursor: pointer;
    border-radius: var(--amp-border-radius-lg);
    overflow: hidden;
    box-shadow: var(--amp-shadow-lg);
}

.amp-team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    border-radius: var(--amp-border-radius-lg);
}

.amp-team-card.flipped .amp-team-card-inner {
    transform: rotateY(180deg);
}

.amp-team-card-front,
.amp-team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--amp-border-radius-lg);
    overflow: hidden;
}

.amp-team-card-front {
    background: var(--amp-primary-color);
}

.amp-team-card-back {
    background: var(--amp-bg-white);
    transform: rotateY(180deg);
    overflow-y: auto;
}

.amp-team-member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.amp-team-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.amp-team-card-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.amp-team-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    color: white;
    text-align: left;
}

.amp-team-member-name {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.amp-team-card-back-content {
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.amp-back-member-name {
    color: var(--amp-primary-color);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.3;
}

.amp-back-member-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.amp-back-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--amp-text-gray);
    line-height: 1.5;
}

.amp-back-detail-item i {
    color: var(--amp-primary-color);
    width: 20px;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.amp-back-detail-item span {
    flex: 1;
}

.amp-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--amp-bg-white);
    border: 2px solid var(--amp-primary-color);
    border-radius: 50%;
    color: var(--amp-primary-color);
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: var(--amp-shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.amp-carousel-btn:hover {
    background: var(--amp-primary-color);
    color: white;
}

.amp-carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.amp-carousel-btn-prev {
    left: -24px;
}

.amp-carousel-btn-next {
    right: -24px;
}

@media (max-width: 1200px) {
    .amp-team-card {
        flex: 0 0 320px;
        height: 480px;
    }
}

@media (max-width: 992px) {
    .amp-carousel-btn {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 768px) {
    .amp-team-card {
        flex: 0 0 300px;
        height: 450px;
    }
    .amp-carousel-btn {
        display: none;
    }
}

/* CTA & Gallery Section */
.amp-about-cta-gallery-section {
    background: var(--amp-bg-light);
    padding: 96px 0;
    width: 100%;
}

.amp-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.amp-cta-title {
    color: var(--amp-primary-color);
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.2;
}

.amp-cta-description {
    color: var(--amp-text-gray);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.amp-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.amp-photo-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.amp-gallery-item {
    position: relative;
    border-radius: var(--amp-border-radius-md);
    overflow: hidden;
    height: 200px;
    cursor: pointer;
    box-shadow: var(--amp-shadow-md);
    transition: all 0.3s ease;
}

.amp-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--amp-shadow-xl);
}

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

.amp-gallery-item:hover .amp-gallery-image {
    transform: scale(1.1);
}

.amp-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(3,45,67,0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.amp-gallery-item:hover .amp-gallery-overlay {
    opacity: 1;
}

@media (max-width: 1200px) {
    .amp-photo-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .amp-photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .amp-photo-gallery {
        grid-template-columns: 1fr;
    }
    .amp-gallery-item {
        height: 180px;
    }
}

/* FAQ Section */
.amp-about-faq-section {
    background: var(--amp-bg-white);
    padding: 96px 0;
    width: 100%;
}

.amp-faq-list {
    max-width: 1000px;
    margin: 0 auto;
}

.amp-faq-item {
    background: var(--amp-bg-white);
    border: 1px solid var(--amp-border-color);
    border-radius: var(--amp-border-radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.amp-faq-item:hover {
    box-shadow: var(--amp-shadow-md);
}

.amp-faq-question {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.amp-faq-question:hover {
    background: var(--amp-bg-light);
}

.amp-faq-question-text {
    color: var(--amp-primary-color);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.amp-faq-toggle-icon {
    color: var(--amp-primary-color);
    font-size: 18px;
    transition: transform 0.3s ease;
    margin-left: 16px;
}

.amp-faq-item.active .amp-faq-toggle-icon {
    transform: rotate(180deg);
}

.amp-faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.amp-faq-item.active .amp-faq-answer {
    padding: 0 24px 24px 24px;
    max-height: 500px;
}

.amp-faq-answer-text {
    color: var(--amp-text-gray);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Якорь */
#contact-form {
    scroll-margin-top: 100px;
}

/* Адаптив */
@media (max-width: 768px) {
    .amp-about-main-title {
        font-size: 36px;
    }
    .amp-section-title {
        font-size: 36px;
    }
    .amp-cta-title {
        font-size: 36px;
    }
    .amp-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .amp-btn {
        width: 100%;
        max-width: 300px;
    }
    .amp-back-member-name {
        font-size: 20px;
    }
    .amp-back-detail-item {
        font-size: 14px;
    }
}

/* Анимации */
.amp-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.amp-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}