/* ========================================
   ABOUT PAGE - Design System
   ======================================== */

/* --- Page Hero --- */
.about-hero {
    position: relative;
    padding: 160px 0 48px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.12) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-hero .container {
    position: relative;
    z-index: 1;
}

/* Two-column hero layout */
.about-hero-inner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 64px;
    align-items: center;
}

.about-hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-label svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

.about-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.1rem;
    color: white;
}

.about-hero h1 span {
    color: var(--accent-color);
}

.about-hero-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin-bottom: 2rem;
}

/* Hero CTA buttons */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    padding: 13px 32px;
    font-size: 0.95rem;
    background: var(--accent-color);
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.35);
}

.hero-actions .btn-primary:hover {
    background: #c2410c;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(234, 88, 12, 0.45);
}

.hero-scroll-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-scroll-link:hover {
    color: white;
}

/* Right stats card */
.about-hero-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-stats-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
}

.hero-stat {
    padding: 26px 22px;
    text-align: center;
    position: relative;
}

.hero-stat:nth-child(1),
.hero-stat:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-num {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: white;
    display: block;
    margin-bottom: 5px;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Cert strip below stats card */
.hero-cert-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(234, 88, 12, 0.12);
    border: 1px solid rgba(234, 88, 12, 0.25);
    border-radius: 8px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
}

.hero-cert-strip svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

/* --- Story Section --- */
.story-section {
    padding: 100px 0;
    background: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.story-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.story-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.story-text p {
    margin-bottom: 1.25rem;
}

.story-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.story-image-wrapper img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.story-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.story-image-badge-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.story-image-badge strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.story-image-badge span {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* --- Values Section --- */
.values-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.section-header-center {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-header-center .section-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    margin-bottom: 1rem;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    position: static;
}

/* Remove decorative lines inherited from main.css .section-badge */
.section-header-center .section-badge::before,
.section-header-center .section-badge::after {
    content: none;
}

.section-header-center h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header-center p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.value-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.value-icon.blue { background: rgba(30, 58, 138, 0.08); color: var(--primary-color); }
.value-icon.orange { background: rgba(234, 88, 12, 0.08); color: var(--accent-color); }
.value-icon.teal { background: rgba(13, 148, 136, 0.08); color: var(--secondary-color); }

.value-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* --- Capabilities Section --- */
.capabilities-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
}

.capabilities-section .section-header-center h2 {
    color: white;
}

.capabilities-section .section-header-center p {
    color: rgba(255, 255, 255, 0.7);
}

.capabilities-section .section-header-center .section-badge {
    color: var(--accent-color);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.capability-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: var(--transition);
}

.capability-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.capability-num {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    display: block;
    margin-bottom: 8px;
    color: white;
}

.capability-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 16px;
}

.capability-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* --- Timeline Section --- */
.timeline-section {
    padding: 100px 0;
    background: var(--white);
}

.timeline-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
}

.timeline-sticky {
    position: sticky;
    top: 120px;
    align-self: start;
}

.timeline-sticky .story-label {
    margin-bottom: 1rem;
}

.timeline-sticky h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.timeline-sticky p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}

.timeline-items {
    position: relative;
    padding-left: 40px;
}

.timeline-items::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--gray-200);
}

.timeline-entry {
    position: relative;
    margin-bottom: 48px;
}

.timeline-entry:last-child {
    margin-bottom: 0;
}

.timeline-entry::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--accent-color);
    z-index: 1;
}

.timeline-entry-year {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: 6px;
}

.timeline-entry h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-entry p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0;
}

/* --- Team Section --- */
.team-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.team-card-image {
    height: 340px;
    overflow: hidden;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-card-image img {
    transform: scale(1.05);
}

.team-card-info {
    padding: 28px;
}

.team-card-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.team-card-role {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-color);
    display: block;
    margin-bottom: 12px;
}

.team-card-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

/* --- Clients Section --- */
.clients-section {
    padding: 70px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.clients-section .section-header-center {
    max-width: 900px;
}

.clients-section .section-header-center h2 {
    white-space: nowrap;
}

.clients-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.client-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    transition: var(--transition);
}

.client-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.client-tag svg {
    width: 13px;
    height: 13px;
    opacity: 0.45;
    flex-shrink: 0;
}

/* CTA section uses homepage .cta-section styles from main.css */

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-hero-right {
        max-width: 480px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .story-image-wrapper img {
        height: 400px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline-sticky {
        position: static;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 150px 0 40px;
    }

    .clients-section .section-header-center h2 {
        white-space: normal;
    }

    .clients-grid {
        flex-wrap: wrap;
        gap: 8px;
    }

    .about-hero-inner {
        gap: 32px;
    }

    .hero-stats-card {
        grid-template-columns: repeat(4, 1fr);
        border-radius: 12px;
    }

    .hero-stat:nth-child(1),
    .hero-stat:nth-child(2) {
        border-bottom: none;
    }

    .hero-stat:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-stat:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-stat:last-child {
        border-right: none;
    }

    .hero-stat {
        padding: 16px 10px;
    }

    .hero-stat-num {
        font-size: 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .capabilities-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .story-image-wrapper img {
        height: 300px;
    }

    .timeline-items {
        padding-left: 30px;
    }

    .timeline-entry::before {
        left: -36px;
    }
}

@media (max-width: 480px) {
    .hero-stats-card {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stat:nth-child(1),
    .hero-stat:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-stat:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-stat:not(:nth-child(odd)) {
        border-right: none;
    }

    .hero-stat {
        padding: 20px 16px;
    }

    .hero-stat-num {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }
}
