/* css/perfil.css - Estilo Apple Profile (Michelle & Francisca) */

body { background-color: #fbfbfd; color: #1d1d1f; }

/* --- 1. HERO (Nombre y Título) --- */
.profile-hero {
    padding: 160px 20px 80px;
    text-align: center;
    background: #fff;
}

.profile-subtitle {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0073aa;
    margin-bottom: 15px;
    display: block;
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

.profile-title {
    font-size: 4rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -1px;
    color: #1d1d1f;
    opacity: 0;
    animation: fadeUp 1s ease 0.2s forwards;
}

/* --- 2. CONTENIDO PRINCIPAL (Grid) --- */
.profile-content-section {
    padding: 60px 0 150px;
}

.profile-grid {
    display: flex;
    align-items: flex-start; /* Alineación superior */
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Columna Imagen */
.profile-img-col {
    flex: 1;
    position: sticky; /* Truco: Si el texto es largo, la foto te sigue */
    top: 100px;
}

.profile-img-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.15);
    background: #eee;
    transform: rotate(-2deg); /* Pequeño ángulo de estilo */
    transition: all 0.5s ease;
}

.profile-img-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.2);
}

.profile-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Columna Info */
.profile-info-col {
    flex: 1.2;
    padding-top: 20px;
}

.info-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin-bottom: 40px;
}

.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #1d1d1f;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

/* Lista de Certificaciones (Estilo Tags) */
.cert-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cert-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f5f5f7;
    border-radius: 12px;
    transition: 0.3s;
    font-size: 1.05rem;
    color: #424245;
}

.cert-list li:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transform: translateX(5px);
}

.cert-list i {
    color: #0073aa;
    font-size: 1.2rem;
    margin-top: 3px;
    min-width: 25px; /* Para alinear texto */
}

/* Botón Grande */
.btn-whatsapp-big {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: 0.3s;
    width: 100%; /* Botón ancho completo */
    box-sizing: border-box;
}

.btn-whatsapp-big:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

/* Animaciones */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
    .profile-grid { flex-direction: column; align-items: center; gap: 40px; }
    .profile-img-col { position: static; width: 100%; max-width: 400px; }
    .profile-title { font-size: 3rem; }
    .profile-img-wrapper { transform: rotate(0); }
}