/* About Page — Clean Modern Redesign */

:root {
    --primary-navy: #3E3E3E;
    --accent-orange: #F27E03;
    --pure-white: #FFFFFF;
    --light-gray: #ECECEC;
    --mid-gray: #D0D0D0;
    --text-dark: #3E3E3E;
    --text-gray: #6B6B6B;
    --bg-soft: #f7f7f8;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;
    --space-xxxl: 96px;
    --radius: 12px;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* ───────────────────────────────────────────────
   1. Hero — светлый, чистый
   ─────────────────────────────────────────────── */
.hero--about {
    margin-top: 80px;
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    background: var(--bg-soft);
    overflow: hidden;
}

.hero--about::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 126, 3, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero--about::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 10%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 126, 3, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 680px;
}

.hero-eyebrow {
    color: var(--accent-orange);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

.hero-title {
    color: var(--text-dark);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.hero-accent {
    width: 64px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    color: var(--text-gray);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.hero-ornament {
    display: none;
}

/* ───────────────────────────────────────────────
   2. Container & Section
   ─────────────────────────────────────────────── */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

.section {
    padding: var(--space-xxxl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xxl);
}

.section-eyebrow {
    color: var(--accent-orange);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

.section-title {
    color: var(--primary-navy);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ───────────────────────────────────────────────
   3. About Columns — Story + Highlights
   ─────────────────────────────────────────────── */
.about-columns {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xxl);
    align-items: start;
}

.about-story {
    padding-right: var(--space-lg);
}

.about-story--full {
    grid-column: 1 / -1;
    max-width: 800px;
}

.about-story h2 {
    color: var(--primary-navy);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    margin-top: 0;
}

.about-richtext {
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1rem;
    margin-top: var(--space-md);
}

.about-richtext p {
    margin-bottom: var(--space-md);
    margin-top: 0;
}

.about-richtext p:first-child {
    margin-top: 0;
}

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

.about-richtext h3,
.about-richtext h4 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--primary-navy);
}

.about-richtext h3:first-child,
.about-richtext h4:first-child {
    margin-top: 0;
}

.about-richtext ul,
.about-richtext ol {
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.about-richtext li {
    margin-bottom: var(--space-xs);
}

/* ───────────────────────────────────────────────
   4. Highlight Cards
   ─────────────────────────────────────────────── */
.about-highlights {
    display: grid;
    gap: var(--space-md);
}

.highlight-card {
    background: var(--pure-white);
    border: 1px solid var(--mid-gray);
    padding: var(--space-lg);
    transition: all 0.3s;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-orange);
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(242, 126, 3, 0.1);
    margin-bottom: var(--space-sm);
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent-orange);
}

.highlight-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-gray);
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 6px;
}

.highlight-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin: 0;
    line-height: 1.2;
}

/* ───────────────────────────────────────────────
   5. Values Section
   ─────────────────────────────────────────────── */
.about-values {
    background: var(--bg-soft);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.value-card {
    background: var(--pure-white);
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 40px 32px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(242, 126, 3, 0.1);
    margin-bottom: var(--space-md);
    flex-shrink: 0;
}

.value-icon svg {
    width: 26px;
    height: 26px;
    color: var(--accent-orange);
}

.value-card h3 {
    color: var(--primary-navy);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    margin-top: 0;
}

.value-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-top: 0;
    margin-bottom: 0;
}

/* ───────────────────────────────────────────────
   6. Timeline Section — vertical
   ─────────────────────────────────────────────── */
.about-timeline {
    background: var(--pure-white);
}

.about-timeline .section-title {
    color: var(--primary-navy);
}

.about-timeline .section-subtitle {
    color: var(--text-gray);
}

.timeline-track {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    padding: var(--space-lg) 0;
    margin-top: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-track::before {
    content: '';
    position: absolute;
    left: 36px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--light-gray);
}

.timeline-card {
    position: relative;
    background: var(--pure-white);
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: var(--space-lg);
    padding-left: 96px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    position: absolute;
    left: 12px;
    top: var(--space-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-orange);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--pure-white);
    border: 3px solid var(--pure-white);
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.timeline-card h3 {
    color: var(--primary-navy);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    margin-top: 0;
}

.timeline-card p {
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 0;
    margin-bottom: 0;
}

/* ───────────────────────────────────────────────
   7. Team Section
   ─────────────────────────────────────────────── */
.about-team {
    background: var(--bg-soft);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.team-card {
    background: var(--pure-white);
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 40px var(--space-lg) var(--space-lg);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-card img,
.team-card .team-card-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--space-sm);
    border: none;
    filter: none;
    transition: transform 0.3s ease;
}

.team-card:hover img,
.team-card:hover .team-card-photo {
    transform: scale(1.05);
    filter: none;
}

.team-grid--aag .team-card img,
.team-grid--aag .team-card .team-card-photo {
    filter: none !important;
}

.team-grid--aag .team-card:hover img,
.team-grid--aag .team-card:hover .team-card-photo {
    filter: none !important;
    transform: scale(1.05);
}

.team-card h3 {
    color: var(--primary-navy);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 4px;
    margin-top: 0;
}

.team-role {
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: var(--space-sm);
    margin-top: 0;
    font-size: 0.875rem;
}

.team-bio {
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 0;
}

/* ───────────────────────────────────────────────
   8. CTA / Contact Section
   ─────────────────────────────────────────────── */
.btn {
    padding: 14px 28px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.25s ease;
    font-size: 15px;
}

.section .contact-section,
.container .contact-section,
.contact-section {
    background: linear-gradient(135deg, #F27E03 0%, #FF9A2E 100%);
    padding: var(--space-xxl) var(--space-xl);
    border-radius: 16px;
    color: #FFFFFF;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: 0 8px 32px rgba(242, 126, 3, 0.2);
}

.section:has(.contact-section) {
    padding-bottom: var(--space-xxxl);
}

.section:last-of-type .container {
    padding-bottom: 0;
}

.section .contact-section h2,
.container .contact-section h2,
.contact-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    margin-top: 0;
    color: #FFFFFF;
}

.section .contact-section p,
.container .contact-section p,
.contact-section p {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    margin-top: 0;
    opacity: 0.95;
    color: #FFFFFF;
}

.section .contact-section .btn,
.container .contact-section .btn,
.contact-section .btn {
    background: #FFFFFF;
    color: #F27E03;
    padding: 14px 32px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.25s ease;
    font-size: 15px;
    display: inline-block;
}

.section .contact-section .btn:hover,
.container .contact-section .btn:hover,
.contact-section .btn:hover {
    background: var(--primary-navy);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ───────────────────────────────────────────────
   9. Responsive
   ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-container,
    .container {
        padding: 0 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .about-story {
        padding-right: 0;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .hero-container,
    .container {
        padding: 0 20px;
    }

    .hero--about {
        min-height: 360px;
        padding: var(--space-xxl) 0;
    }

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

    .about-story {
        margin-bottom: var(--space-lg);
    }

    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        min-height: auto;
        padding: var(--space-lg);
    }

    .timeline-track::before {
        left: 26px;
    }

    .timeline-year {
        left: 4px;
        width: 46px;
        height: 46px;
        font-size: 0.75rem;
    }

    .timeline-card {
        padding-left: 76px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section .contact-section,
    .container .contact-section,
    .contact-section {
        padding: var(--space-xl) var(--space-md);
        border-radius: 12px;
    }

    .section .contact-section h2,
    .container .contact-section h2,
    .contact-section h2 {
        font-size: 1.75rem;
    }

    .section .contact-section p,
    .container .contact-section p,
    .contact-section p {
        font-size: 1rem;
    }
}
