/* PAGE HERO */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(30, 78, 216, 0.15) 0%, transparent 65%);
    pointer-events: none;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ALTERNATING SECTIONS */
.alt-row {
    display: flex;
    align-items: center;
    gap: 72px;
    margin-bottom: 100px;
}

.alt-row:last-of-type {
    margin-bottom: 0;
}

.alt-row.reverse {
    flex-direction: row-reverse;
}

.alt-text {
    flex: 1;
}

.alt-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.alt-text p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.97rem;
    margin-bottom: 12px;
}

.alt-visual {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    /* height: 340px; */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
}

.alt-visual img {
    width: 100%;          
    height: 100%;         
    max-width: 100%;     
    object-fit: contain;  
    display: block;       
}

.alt-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 78, 216, 0.07) 0%, transparent 60%);
}

.alt-visual-icon {
    font-size: 2.5rem;
    opacity: 0.25;
}

/* VALUES */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 56px;
}

.value-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 26px;
    transition: border-color 0.25s, transform 0.25s;
}

.value-card:hover {
    border-color: rgba(30, 78, 216, 0.4);
    transform: translateY(-3px);
}

.value-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.value-num {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent-light);
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* TEAM */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 56px;
}

.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: border-color 0.25s, transform 0.25s;
}

.team-card:hover {
    border-color: rgba(30, 78, 216, 0.4);
    transform: translateY(-3px);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(30, 78, 216, 0.1);
    border: 1px solid var(--border);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-avatar-placeholder {
    opacity: 0.3;
    font-size: 1.5rem;
}

.team-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-card span {
    color: var(--accent-light);
    font-size: 0.8rem;
    font-weight: 500;
    display: block;
    margin-bottom: 12px;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

/* FOOTER */
footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
}

footer a:hover {
    color: var(--text-main);
}

.footer-links {
    display: flex;
    gap: 28px;
}

@media (max-width: 768px) {
    nav {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .alt-row,
    .alt-row.reverse {
        flex-direction: column;
    }
}