:root {
    --principal: #2d4f95;
    --bg-black: #ffffff;
    --text-gray: #0a0f19;
}

.expert-profile {
    background-color: var(--bg-black);
    color: #0a0f19;
    padding: 100px 5%;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Títulos */
.main-title {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -1px;
    line-height: -1;
    margin-bottom: 60px;
}

.gold-text {
    color: var(--principal);
    letter-spacing: -2px;
}

/* Grid Layout */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.5fr;
    gap: 40px;
    align-items: center;
}

/* Columna Izquierda */
.achievement-item {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.fig-label {
    display: block;
    font-style: italic;
    color: var(--principal);
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.achievement-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Marco Hexagonal / Asimétrico */
.image-wrapper {
    position: relative;
}

.hex-frame {
    background: linear-gradient(135deg, var(--principal) 0%, transparent 100%);
    padding: 2px;
    /* Grosor del borde */
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
}

.hex-frame img {
    width: 100%;
    display: block;
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
    background: #111;
}

/* Bio */
.bio-intro {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
}

.bio-text p {
    color: var(--text-gray);
    line-height: 1.3;
    margin-bottom: 20px;
    font-size: 1rem;
}

.location-highlight {
    border-top: 1px solid var(--principal);
    padding-top: 20px;
    font-style: italic;
}

/* --- ANIMACIONES --- */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease forwards;
}

.scale-in {
    animation: scaleIn 1s ease forwards;
}

/* Responsive */
@media (max-width: 900px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .achievements-column {
        order: 2;
    }

    .image-wrapper {
        order: 1;
        max-width: 400px;
        margin: 0 auto;
    }

    .bio-column {
        order: 3;
        text-align: center;
    }
}