@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=DM+Sans:wght@300;400;500;600&display=swap');

.page-hero {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, #0a5699 100%);
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234e9bff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.page-hero h1 {
    font-family: 'Space Mono', monospace;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -1px;
    margin-bottom: 16px;
    position: relative;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}

.about-section.reverse {
    direction: rtl;
}

.about-section.reverse > * {
    direction: ltr;
}

.about-img-wrap {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.about-img-wrap:hover img {
    transform: scale(1.05);
}

.about-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 56, 115, 0.35) 0%, transparent 60%);
    pointer-events: none;
}

.about-content {
    background: var(--color-primary);
    color: white;
    padding: 60px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content.light {
    background: #ffffff;
    color: #1a1a2e;
}

.section-number {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 12px;
}

.about-content h2 {
    font-family: 'Space Mono', monospace;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.85;
    max-width: 480px;
}

.about-content.light p {
    opacity: 0.75;
}

.accent-line {
    width: 48px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
    margin-bottom: 20px;
}

.about-content.light .accent-line {
    background: var(--color-primary);
}

@media (max-width: 768px) {
    .about-section,
    .about-section.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .about-img-wrap {
        min-height: 260px;
    }

    .about-content {
        padding: 40px 28px;
    }
}
